This commit is contained in:
joBr99
2022-06-05 09:23:01 +02:00
parent ba15f72f78
commit 7ff02f5dc7
2 changed files with 8 additions and 7 deletions

View File

@@ -287,7 +287,7 @@ class LuiPagesGen(object):
current_temp = get_attr_safe(entity, "current_temperature", "")
dest_temp = int(get_attr_safe(entity, "temperature", 0)*10)
hvac_action = get_attr_safe(entity, "hvac_action", "")
hvac_action = get_attr_safe(entity, "hvac_action", "")
state_value = ""
if hvac_action != "":
state_value = get_translation(self._locale, f"frontend.state_attributes.climate.hvac_action.{hvac_action}")