From 70211d563fce0aa0df463c44c8ee3b3804e0d666 Mon Sep 17 00:00:00 2001 From: joBr99 <29555657+joBr99@users.noreply.github.com> Date: Sun, 5 Mar 2023 20:21:02 +0100 Subject: [PATCH] fixes #798 --- 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 98a04c395..a9c11430c 100644 --- a/apps/nspanel-lovelace-ui/luibackend/pages.py +++ b/apps/nspanel-lovelace-ui/luibackend/pages.py @@ -492,7 +492,7 @@ def generate_thermo_page(self, navigation, title, entity, temp_unit, overwrite_s state_translation = get_translation(self._locale, "frontend.ui.panel.config.devices.entities.state") action_translation = get_translation(self._locale, "frontend.ui.card.climate.operation").replace(' ','\r\n') - detailPage = "" + detailPage = "1" if any(x in ["preset_modes", "swing_modes", "fan_modes"] for x in entity.attributes): detailPage = "0"