mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-16 10:46:03 +00:00
Fix for non-hum reporting devices
git-svn-id: https://svn.fhem.de/fhem/trunk@401 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
a49f5c1d95
commit
cdfc267c3d
@ -220,7 +220,7 @@ CUL_WS_Parse($$)
|
||||
my $name = $hash->{NAME};
|
||||
Log GetLogLevel($name,4), "CUL_WS $devtype $name: $val";
|
||||
|
||||
if($hum < 0) {
|
||||
if(defined($hum) && $hum < 0) {
|
||||
Log 1, "BOGUS: $name reading: $val, skipping it";
|
||||
return $name;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user