mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-02-21 13:44:45 +01:00
fix
This commit is contained in:
@@ -252,7 +252,7 @@ class LuiPagesGen(object):
|
|||||||
bits = entity.attributes.supported_features
|
bits = entity.attributes.supported_features
|
||||||
onoffbutton = "disable"
|
onoffbutton = "disable"
|
||||||
if bits & 0b01000000:
|
if bits & 0b01000000:
|
||||||
if entity.state == "off"
|
if entity.state == "off":
|
||||||
onoffbutton = 1374
|
onoffbutton = 1374
|
||||||
else:
|
else:
|
||||||
onoffbutton = rgb_dec565([255,255,255])
|
onoffbutton = rgb_dec565([255,255,255])
|
||||||
|
|||||||
Reference in New Issue
Block a user