mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
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:
parent
78d56e05ae
commit
45f790ca29
@ -1744,7 +1744,7 @@ foreach (chnid, odev.Channels())
|
|||||||
next if ($reading eq '');
|
next if ($reading eq '');
|
||||||
|
|
||||||
my $value = (defined ($dpdata[2]) && $dpdata[2] ne '') ? $dpdata[2] : 'N/A';
|
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);
|
$value = HMCCU_FormatReadingValue ($cl_hash, $value);
|
||||||
if ($ccureadings) {
|
if ($ccureadings) {
|
||||||
readingsBulkUpdate ($cl_hash, $reading, $value);
|
readingsBulkUpdate ($cl_hash, $reading, $value);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user