diff --git a/fhem/FHEM/30_HUEBridge.pm b/fhem/FHEM/30_HUEBridge.pm index 6529cb9b8..6128a3300 100644 --- a/fhem/FHEM/30_HUEBridge.pm +++ b/fhem/FHEM/30_HUEBridge.pm @@ -479,7 +479,7 @@ HUEBridge_Parse($$) $devicetypes .= ',' if( $devicetypes && scalar(@{$result->{swupdate}->{devicetypes}->{lights}}) ); $devicetypes .= join( ",", @{$result->{swupdate}->{devicetypes}->{lights}} ) if( $result->{swupdate}->{devicetypes}->{lights} ); - $hash->{updatestate} .= " [$devicetypes]"; + $hash->{updatestate} .= " [$devicetypes]" if( $devicetypes ); } } elsif ( defined( $hash->{swupdate} ) ) { delete( $hash->{updatestate} );