mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2025-12-22 15:34:26 +01:00
Update pages.py
This commit is contained in:
@@ -43,7 +43,7 @@ class LuiPagesGen(object):
|
|||||||
icon_color = rgb_dec565([13,160,53])
|
icon_color = rgb_dec565([13,160,53])
|
||||||
if entity.state == "arming":
|
if entity.state == "arming":
|
||||||
icon_color = rgb_dec565([244,180,0])
|
icon_color = rgb_dec565([244,180,0])
|
||||||
if entity.state in ["armed_home", "armed_away", "armed_night", "armed_vacation", "pending"]:
|
if entity.state in ["armed_home", "armed_away", "armed_night", "armed_vacation", "pending", "triggered"]:
|
||||||
icon_color = rgb_dec565([223,76,30])
|
icon_color = rgb_dec565([223,76,30])
|
||||||
|
|
||||||
if ha_type == "climate":
|
if ha_type == "climate":
|
||||||
|
|||||||
Reference in New Issue
Block a user