fixed toggle for HUEDevice_devStateIcon state off

git-svn-id: https://svn.fhem.de/fhem/trunk@4131 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme1968
2013-10-29 23:00:16 +00:00
parent ebdd4cc4a1
commit eedbed65c2

View File

@@ -81,7 +81,7 @@ HUEDevice_devStateIcon($)
return ".*:light_question" if( !$hash->{fhem}{reachable} && AttrVal($name, "color-icons", 0) != 0 );
return undef
return ".*:off:toggle"
if( ReadingsVal($name,"state","off") eq "off" || ReadingsVal($name,"bri","0") eq 0 );
return undef