HMCCU: minor bug fix

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@10383 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
fhemzap 2016-01-06 16:21:29 +00:00
parent 78d56e05ae
commit 45f790ca29

View File

@ -1744,7 +1744,7 @@ foreach (chnid, odev.Channels())
next if ($reading eq '');
my $value = (defined ($dpdata[2]) && $dpdata[2] ne '') ? $dpdata[2] : 'N/A';
my $value = HMCCU_Substitute ($value, $substitute, 0, $reading);
$value = HMCCU_Substitute ($value, $substitute, 0, $reading);
$value = HMCCU_FormatReadingValue ($cl_hash, $value);
if ($ccureadings) {
readingsBulkUpdate ($cl_hash, $reading, $value);