From 4883f5d662558da0ab98821c6dc034e93d9fec7b Mon Sep 17 00:00:00 2001 From: joBr99 <29555657+joBr99@users.noreply.github.com> Date: Tue, 20 Dec 2022 20:39:36 +0100 Subject: [PATCH] Update pages.py --- apps/nspanel-lovelace-ui/luibackend/pages.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/nspanel-lovelace-ui/luibackend/pages.py b/apps/nspanel-lovelace-ui/luibackend/pages.py index 12ee71eb..1b8c1780 100644 --- a/apps/nspanel-lovelace-ui/luibackend/pages.py +++ b/apps/nspanel-lovelace-ui/luibackend/pages.py @@ -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}"