2nd part of hvac state, not sure if this is the correct path for it's stats

This commit is contained in:
Johannes
2022-06-05 08:46:11 +02:00
parent 64d9427221
commit 3110031f95

View File

@@ -291,8 +291,8 @@ class LuiPagesGen(object):
state_value = "" state_value = ""
if hvac_action != "": if hvac_action != "":
state_value = get_translation(self._locale, f"state_attributes.climate.hvac_action.{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 += "\r\n("
state_value += f"{get_translation(self._locale, entity.state)}" state_value += get_translation(self._locale, f"state_attributes.climate.hvac_action.{entity.state}")
if hvac_action != "": if hvac_action != "":
state_value += ")" state_value += ")"