From d8d0dda6de39c3417b18b50dba8265c04145b1ef Mon Sep 17 00:00:00 2001 From: justme-1968 Date: Sat, 14 May 2016 13:57:45 +0000 Subject: [PATCH] 31_HUEDevice.pm: deCONZ compatibility fix git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@11440 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- FHEM/31_HUEDevice.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FHEM/31_HUEDevice.pm b/FHEM/31_HUEDevice.pm index 9e6c501f5..7e7942533 100644 --- a/FHEM/31_HUEDevice.pm +++ b/FHEM/31_HUEDevice.pm @@ -989,7 +989,7 @@ HUEDevice_Parse($$) $hash->{STATE} = 'Initialized'; $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 $any_on = $result->{state}{any_on};