diff --git a/HMI/README.md b/HMI/README.md index daa68e2c..7c3602fd 100644 --- a/HMI/README.md +++ b/HMI/README.md @@ -123,7 +123,7 @@ The following message can be used to update the content on the cardEntities Page ### cardThermo Page -`entityUpd~*heading*~*navigation*~*internalNameEntiy*~*currentTemp*~*destTemp*~*status*~*minTemp*~*maxTemp*~*stepTemp*[[~*iconId*~*activeColor*~*state*~*hvac_action*]]~tCurTempLbl~tStateLbl~tALbl` +`entityUpd~*heading*~*navigation*~*internalNameEntiy*~*currentTemp*~*destTemp*~*status*~*minTemp*~*maxTemp*~*stepTemp*[[~*iconId*~*activeColor*~*state*~*hvac_action*]]~tCurTempLbl~tStateLbl~tALbl~iconTemperature~dstTempTwoTempMode` `[[]]` are not part of the command~ this part repeats 8 times for the buttons diff --git a/HMI/US/portrait/nspanel.tft b/HMI/US/portrait/nspanel.tft new file mode 100644 index 00000000..e93aa1ba Binary files /dev/null and b/HMI/US/portrait/nspanel.tft differ diff --git a/HMI/nspanel.HMI b/HMI/nspanel.HMI index 52d4286a..0975de40 100644 Binary files a/HMI/nspanel.HMI and b/HMI/nspanel.HMI differ diff --git a/HMI/nspanel.tft b/HMI/nspanel.tft index 6b2860d1..e93aa1ba 100644 Binary files a/HMI/nspanel.tft and b/HMI/nspanel.tft differ diff --git a/apps/nspanel-lovelace-ui/luibackend/pages.py b/apps/nspanel-lovelace-ui/luibackend/pages.py index 7dd9d032..fad07927 100644 --- a/apps/nspanel-lovelace-ui/luibackend/pages.py +++ b/apps/nspanel-lovelace-ui/luibackend/pages.py @@ -243,8 +243,9 @@ class LuiPagesGen(object): len_hvac_modes = len(hvac_modes) padding_len = 8-len_hvac_modes icon_res = icon_res + "~"*4*padding_len + temperature_unit = get_icon_id("temperature-celsius") - command = f"entityUpd~{heading}~{navigation}~{item}~{current_temp}~{dest_temp}~{status}~{min_temp}~{max_temp}~{step_temp}{icon_res}~Currently~State~Action" + command = f"entityUpd~{heading}~{navigation}~{item}~{current_temp}~{dest_temp}~{status}~{min_temp}~{max_temp}~{step_temp}{icon_res}~Currently~State~Action~{temperature_unit}" self._send_mqtt_msg(command) def generate_media_page(self, navigation, entity):