diff --git a/fhem/FHEM/31_HUEDevice.pm b/fhem/FHEM/31_HUEDevice.pm index 07b4349ba..b10c16052 100644 --- a/fhem/FHEM/31_HUEDevice.pm +++ b/fhem/FHEM/31_HUEDevice.pm @@ -1834,7 +1834,7 @@ HUEDevice_Parse($$) $hash->{tholddark} = $config->{tholddark} if( defined($config->{tholddark}) ); $hash->{sensitivity} = $config->{sensitivity} if( defined($config->{sensitivity}) ); - $hash->{ledindication} = $config->{ledindication} if( defined($config->{ledindication}) ); + $hash->{ledindication} = $config->{ledindication}?1:0 if( defined($config->{ledindication}) ); $readings{battery} = $config->{battery} if( defined($config->{battery}) ); $readings{batteryPercent} = $config->{battery} if( defined($config->{battery}) );