disbale icon vor colormode ct

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@3287 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme1968
2013-06-14 21:43:28 +00:00
parent e9edf3c0d4
commit 51af12f316

View File

@@ -80,10 +80,10 @@ HUEDevice_devStateIcon($)
return undef
if( AttrVal($name, "model", "") eq "LWL001" );
return '<div style="height:19px;'.
'border:1px solid #fff;border-radius:8px;background-color:#'.CommandGet("","$name rgb").';">'.
'<img src="/fhem/icons/'.$hash->{STATE}.'" alt="'.$hash->{STATE}.'" title="'.$hash->{STATE}.'">'.
'</div>' if( ReadingsVal($name,"colormode","") eq "ct" );
#return '<div style="height:19px;'.
# 'border:1px solid #fff;border-radius:8px;background-color:#'.CommandGet("","$name rgb").';">'.
# '<img src="/fhem/icons/'.$hash->{STATE}.'" alt="'.$hash->{STATE}.'" title="'.$hash->{STATE}.'">'.
# '</div>' if( ReadingsVal($name,"colormode","") eq "ct" );
return '<div style="width:32px;height:19px;'.
'border:1px solid #fff;border-radius:8px;background-color:#'.CommandGet("","$name rgb").';"></div>';