2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-21 20:06:18 +00:00

disbale icon vor colormode ct

git-svn-id: https://svn.fhem.de/fhem/trunk@3287 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme-1968 2013-06-14 21:43:28 +00:00
parent b389d3ee10
commit 0319f3f7cf

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>';