mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-22 02:10:32 +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:
parent
b389d3ee10
commit
0319f3f7cf
@ -80,10 +80,10 @@ HUEDevice_devStateIcon($)
|
|||||||
return undef
|
return undef
|
||||||
if( AttrVal($name, "model", "") eq "LWL001" );
|
if( AttrVal($name, "model", "") eq "LWL001" );
|
||||||
|
|
||||||
return '<div style="height:19px;'.
|
#return '<div style="height:19px;'.
|
||||||
'border:1px solid #fff;border-radius:8px;background-color:#'.CommandGet("","$name rgb").';">'.
|
# 'border:1px solid #fff;border-radius:8px;background-color:#'.CommandGet("","$name rgb").';">'.
|
||||||
'<img src="/fhem/icons/'.$hash->{STATE}.'" alt="'.$hash->{STATE}.'" title="'.$hash->{STATE}.'">'.
|
# '<img src="/fhem/icons/'.$hash->{STATE}.'" alt="'.$hash->{STATE}.'" title="'.$hash->{STATE}.'">'.
|
||||||
'</div>' if( ReadingsVal($name,"colormode","") eq "ct" );
|
# '</div>' if( ReadingsVal($name,"colormode","") eq "ct" );
|
||||||
|
|
||||||
return '<div style="width:32px;height:19px;'.
|
return '<div style="width:32px;height:19px;'.
|
||||||
'border:1px solid #fff;border-radius:8px;background-color:#'.CommandGet("","$name rgb").';"></div>';
|
'border:1px solid #fff;border-radius:8px;background-color:#'.CommandGet("","$name rgb").';"></div>';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user