mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2025-12-25 17:04:25 +01:00
Update pages.py
This commit is contained in:
@@ -372,6 +372,9 @@ class LuiPagesGen(object):
|
||||
currently_tanslation = get_translation(self._locale, f"frontend.ui.card.climate.currently")
|
||||
current_temperature = get_attr_safe(entity, "current_temperature", "")
|
||||
value += f"\r\n{currently_tanslation}: {current_temperature}{temperature_unit}"
|
||||
elif entityType == "timer":
|
||||
entityTypePanel = "timer"
|
||||
value = entity.state
|
||||
else:
|
||||
name = "unsupported"
|
||||
return f"~{entityTypePanel}~{entityId}~{icon_id}~{color}~{name}~{value}"
|
||||
|
||||
Reference in New Issue
Block a user