From d9b352f7eecc4707385d90fd1080aba82fff900f Mon Sep 17 00:00:00 2001 From: justme-1968 Date: Mon, 21 Nov 2022 17:28:03 +0000 Subject: [PATCH] 31_HUEDevice.pm: ledindication fix git-svn-id: https://svn.fhem.de/fhem/trunk@26730 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/31_HUEDevice.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}) );