31_HUEDevice.pm: probble fix for status not updating

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@25530 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme-1968 2022-01-21 07:16:53 +00:00
parent e956a884e7
commit 01123582e3

View File

@ -1810,7 +1810,7 @@ HUEDevice_Parse($$)
&& $hlu <= $lu
&& !defined($result->{v2_service})
#&& $hash->{lastupdated} eq $lastupdated
&& (!$readings{state} || $readings{state} eq ReadingsVal( $name, 'state', '' ))
#&& (!defined($readings{state}) || $readings{state} eq ReadingsVal( $name, 'state', '' ))
);
Log3 $name, 4, "$name: lastupdated: $lastupdated, hash->{lastupdated}: $hash->{lastupdated}, lastupdated_local: $lastupdated_local, offsetUTC: $offset";