From 3110031f9536f8daecd969fcc28052828e31426c Mon Sep 17 00:00:00 2001 From: Johannes Date: Sun, 5 Jun 2022 08:46:11 +0200 Subject: [PATCH] 2nd part of hvac state, not sure if this is the correct path for it's stats --- apps/nspanel-lovelace-ui/luibackend/pages.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/nspanel-lovelace-ui/luibackend/pages.py b/apps/nspanel-lovelace-ui/luibackend/pages.py index d6cc1d8a..77ee4ca6 100644 --- a/apps/nspanel-lovelace-ui/luibackend/pages.py +++ b/apps/nspanel-lovelace-ui/luibackend/pages.py @@ -291,8 +291,8 @@ class LuiPagesGen(object): state_value = "" if hvac_action != "": state_value = get_translation(self._locale, f"state_attributes.climate.hvac_action.{hvac_action}") - state_value += f"{get_translation(self._locale, status)}\r\n(" - state_value += f"{get_translation(self._locale, entity.state)}" + state_value += "\r\n(" + state_value += get_translation(self._locale, f"state_attributes.climate.hvac_action.{entity.state}") if hvac_action != "": state_value += ")"