mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-02-16 01:46:59 +01:00
fix
This commit is contained in:
@@ -491,7 +491,7 @@ class LovelaceUIPanel:
|
|||||||
icon_id = get_icon_id("check-circle-outline")
|
icon_id = get_icon_id("check-circle-outline")
|
||||||
else:
|
else:
|
||||||
icon_id = get_icon_id("close-circle-outline")
|
icon_id = get_icon_id("close-circle-outline")
|
||||||
return f",switch,{item},{icon_id},{icon_color},{name},{switch_val}"
|
return f",switch,{item},{icon_id},{icon_color},{name},{switch_val}"
|
||||||
|
|
||||||
if item_type == "sensor":
|
if item_type == "sensor":
|
||||||
# maps ha device classes to material design icons
|
# maps ha device classes to material design icons
|
||||||
|
|||||||
Reference in New Issue
Block a user