2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 03:06:37 +00:00

31_HUEDevice.pm: deCONZ compatibility fix

git-svn-id: https://svn.fhem.de/fhem/trunk@11440 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme-1968 2016-05-14 13:57:45 +00:00
parent d48b6f30ae
commit dacd1cafa2

View File

@ -989,7 +989,7 @@ HUEDevice_Parse($$)
$hash->{STATE} = 'Initialized'; $hash->{STATE} = 'Initialized';
$hash->{lights} = join( ",", @{$result->{lights}} ) if( $result->{lights} ); $hash->{lights} = join( ",", @{$result->{lights}} ) if( $result->{lights} );
if( $result->{state} ) { if( ref($result->{state}) eq 'HASH' ) {
my $all_on = $result->{state}{all_on}; my $all_on = $result->{state}{all_on};
my $any_on = $result->{state}{any_on}; my $any_on = $result->{state}{any_on};