2
0
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:
justme-1968 2013-03-16 09:02:04 +00:00
parent 7dc4507965
commit 2585a1a2cf

View File

@ -634,6 +634,7 @@ HUEDevice_GetUpdate($)
&& $percent < 100 ) {
$s = $dim_values{int($percent/7)};
}
$s = 'off' if( $percent == 0 );
}
else
{