From ee2c547b0c196dc7ec1bb37a9ee16c78888ee243 Mon Sep 17 00:00:00 2001 From: joBr99 <29555657+joBr99@users.noreply.github.com> Date: Thu, 25 Aug 2022 20:36:10 +0200 Subject: [PATCH] fixes #415 --- apps/nspanel-lovelace-ui/luibackend/pages.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/nspanel-lovelace-ui/luibackend/pages.py b/apps/nspanel-lovelace-ui/luibackend/pages.py index 437fcf36..8a23ac12 100644 --- a/apps/nspanel-lovelace-ui/luibackend/pages.py +++ b/apps/nspanel-lovelace-ui/luibackend/pages.py @@ -503,7 +503,7 @@ class LuiPagesGen(object): #add button to show sensor state add_btn = "" if "open_sensors" in entity.attributes and entity.attributes.open_sensors is not None: - add_btn=f"{get_icon_id('progress-alert')}~{rgb_dec565([243,179,0])}~opnSensorNotify" + add_btn=f"{get_icon_id('progress-alert')}~{rgb_dec565([243,179,0])}~" if alarmBtn is not None and type(alarmBtn) is dict: entity = alarmBtn.get("entity") iconnav = get_icon_id_ha("alarm-arm-fail", overwrite=alarmBtn.get("icon"))