31_HUEDevice.pm: sensor STATE fix. see https://forum.fhem.de/index.php/topic,81566.msg741696/topicseen.html#msg741696
git-svn-id: https://svn.fhem.de/fhem/trunk@15774 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -1041,7 +1041,7 @@ HUEDevice_GetUpdate($)
|
||||
my $result = HUEDevice_ReadFromServer($hash,$hash->{ID});
|
||||
if( !defined($result) ) {
|
||||
$hash->{helper}{reachable} = 0;
|
||||
$hash->{STATE} = "unknown";
|
||||
#$hash->{STATE} = "unknown";
|
||||
return;
|
||||
} elsif( $result->{'error'} ) {
|
||||
$hash->{helper}{reachable} = 0;
|
||||
|
||||
Reference in New Issue
Block a user