This commit is contained in:
Johannes
2022-06-05 09:03:44 +02:00
parent 3110031f95
commit 5c78f34a81
2 changed files with 3 additions and 3 deletions

View File

@@ -290,9 +290,9 @@ class LuiPagesGen(object):
hvac_action = get_attr_safe(entity, "hvac_action", "")
state_value = ""
if hvac_action != "":
state_value = get_translation(self._locale, f"state_attributes.climate.hvac_action.{hvac_action}")
state_value = get_translation(self._locale, f"frontend.state_attributes.climate.hvac_action.{hvac_action}")
state_value += "\r\n("
state_value += get_translation(self._locale, f"state_attributes.climate.hvac_action.{entity.state}")
state_value += get_translation(self._locale, f"backend.component.climate.state._.{entity.state}")
if hvac_action != "":
state_value += ")"