2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 16:56:54 +00:00

HMCCU: minor bug fix

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

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);