mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-02-18 19:06:58 +01:00
Fix lgtm Recommendation
This commit is contained in:
@@ -283,7 +283,6 @@ class LuiPagesGen(object):
|
|||||||
if entity.state == "disarmed":
|
if entity.state == "disarmed":
|
||||||
color = rgb_dec565([13,160,53])
|
color = rgb_dec565([13,160,53])
|
||||||
icon = get_icon_id("shield-off")
|
icon = get_icon_id("shield-off")
|
||||||
test = entity.attributes.get("code_arm_required", "false")
|
|
||||||
if not entity.attributes.get("code_arm_required", False):
|
if not entity.attributes.get("code_arm_required", False):
|
||||||
numpad = "disable"
|
numpad = "disable"
|
||||||
bits = entity.attributes.supported_features
|
bits = entity.attributes.supported_features
|
||||||
|
|||||||
Reference in New Issue
Block a user