diff --git a/apps/nspanel-lovelace-ui/luibackend/pages.py b/apps/nspanel-lovelace-ui/luibackend/pages.py index 150c29e5..5563102f 100644 --- a/apps/nspanel-lovelace-ui/luibackend/pages.py +++ b/apps/nspanel-lovelace-ui/luibackend/pages.py @@ -158,6 +158,7 @@ class LuiPagesGen(object): current_temp = int(entity.attributes.get("current_temperature", 0)*10) dest_temp = int(entity.attributes.get("temperature", 0)*10) status = entity.attributes.get("hvac_action", "") + status = get_translation(self._locale,status) min_temp = int(entity.attributes.get("min_temp", 0)*10) max_temp = int(entity.attributes.get("max_temp", 0)*10) step_temp = int(entity.attributes.get("target_temp_step", 0.5)*10) @@ -274,4 +275,4 @@ class LuiPagesGen(object): def send_message_page(self, id, heading, msg, b1, b2): self._send_mqtt_msg(f"pageType,popupNotify") - self._send_mqtt_msg(f"entityUpdateDetail,|{id}|{heading}|65535|{b1}|65535|{b2}|65535|{msg}|65535|0") \ No newline at end of file + self._send_mqtt_msg(f"entityUpdateDetail,|{id}|{heading}|65535|{b1}|65535|{b2}|65535|{msg}|65535|0")