2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 12:49:34 +00:00

31_HUEDevice.pm: ledindication fix

git-svn-id: https://svn.fhem.de/fhem/trunk@26730 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme-1968 2022-11-21 17:28:03 +00:00
parent 1635faba7f
commit d9b352f7ee

View File

@ -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}) );