mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 04:36:36 +00:00
59_HCS.pm: add on/off patch (Forum #41001)
git-svn-id: https://svn.fhem.de/fhem/trunk@9701 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
de1dd5e7af
commit
ed30738704
@ -467,6 +467,8 @@ HCS_getValues($$) {
|
||||
$devs{$d}{tempMeasured} = ReadingsVal($d,"measured-temp","n/a") if($t =~ m/(FHT|CUL_HM)/);
|
||||
$devs{$d}{tempMeasured} = ReadingsVal($d,"temperature","n/a") if($t =~ m/(MAX)/);
|
||||
|
||||
$devs{$d}{tempDesired} = ($t =~ m/(FHT)/) ? 5.5 : 4.5 if($devs{$d}{tempDesired} eq "off");
|
||||
$devs{$d}{tempDesired} = 30.5 if($devs{$d}{tempDesired} eq "on");
|
||||
|
||||
$devs{$d}{type} = $t;
|
||||
$hash->{helper}{device}{$d}{excluded} = $devs{$d}{excluded};
|
||||
|
Loading…
x
Reference in New Issue
Block a user