mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-20 07:16:03 +00:00
better handling of state for bri == 0
git-svn-id: https://svn.fhem.de/fhem/trunk@2923 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
7dc4507965
commit
2585a1a2cf
@ -634,6 +634,7 @@ HUEDevice_GetUpdate($)
|
||||
&& $percent < 100 ) {
|
||||
$s = $dim_values{int($percent/7)};
|
||||
}
|
||||
$s = 'off' if( $percent == 0 );
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user