fixed toggle for HUEDevice_devStateIcon state off

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@4131 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme1968
2013-10-29 23:00:16 +00:00
parent fbf43e0a67
commit 72141b214a

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