mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 06:39:11 +00:00
59_HCS.pm: Check attribute exists before access.
git-svn-id: https://svn.fhem.de/fhem/trunk@25861 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
596a397422
commit
90cc9056a0
@ -469,6 +469,7 @@ HCS_getValues($$) {
|
||||
|| ($attr{$d}{model} eq "HmIP-WTH-2" && !$defs{$d}{device})
|
||||
|| ($attr{$d}{model} eq "HmIP-eTRV" && !$defs{$d}{device})
|
||||
|| ($attr{$d}{model} eq "HM-CC-RT-DN" && !$defs{$d}{device}) )) );
|
||||
next if($t eq "ZWave" && !$attr{$d}{classes});
|
||||
next if($t eq "ZWave" && $attr{$d}{classes} !~ m/THERMOSTAT_SETPOINT/);
|
||||
|
||||
$devs{$d}{actuator} = ReadingsVal($d,"actuator","n/a") if($t =~ m/(HMCCUDEV|HMCCUCHN|FHT|CUL_HM|ZWave)/);
|
||||
|
Loading…
Reference in New Issue
Block a user