mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2025-12-26 09:24:24 +01:00
fix
This commit is contained in:
@@ -185,7 +185,7 @@ class LuiPagesGen(object):
|
||||
if entityType == "iText":
|
||||
value = entityId.split(".", 2)[1]
|
||||
name = name if name is not None else "conf name missing"
|
||||
icon_id = get_icon_id(icon) if icon is not None else get_icon_id("alert-circle-outline")
|
||||
icon_res = get_icon_id(icon) if icon is not None else get_icon_id("alert-circle-outline")
|
||||
return f"~text~{entityId}~{icon_res}~17299~{name}~{value}"
|
||||
if not self._ha_api.entity_exists(entityId):
|
||||
return f"~text~{entityId}~{get_icon_id('alert-circle-outline')}~17299~Not found check~ apps.yaml"
|
||||
|
||||
Reference in New Issue
Block a user