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:
justme1968
2013-03-16 09:02:04 +00:00
parent 1c9db872f9
commit 10c51c4947

View File

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