diff --git a/HMI/README.md b/HMI/README.md index 0d77a411..daa68e2c 100644 --- a/HMI/README.md +++ b/HMI/README.md @@ -123,9 +123,9 @@ 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*]]` +`entityUpd~*heading*~*navigation*~*internalNameEntiy*~*currentTemp*~*destTemp*~*status*~*minTemp*~*maxTemp*~*stepTemp*[[~*iconId*~*activeColor*~*state*~*hvac_action*]]~tCurTempLbl~tStateLbl~tALbl` -`[[]]` are not part of the command~ this part repeats 9 times for the buttons +`[[]]` are not part of the command~ this part repeats 8 times for the buttons ### cardMedia Page diff --git a/HMI/nspanel.HMI b/HMI/nspanel.HMI index f8d66407..d4b692aa 100644 Binary files a/HMI/nspanel.HMI and b/HMI/nspanel.HMI differ diff --git a/HMI/nspanel.tft b/HMI/nspanel.tft index 31a98f49..a51cf746 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 465281c9..1756946b 100644 --- a/apps/nspanel-lovelace-ui/luibackend/pages.py +++ b/apps/nspanel-lovelace-ui/luibackend/pages.py @@ -241,10 +241,10 @@ class LuiPagesGen(object): icon_res += f"~{icon_id}~{color_on}~{state}~{mode}" len_hvac_modes = len(hvac_modes) - padding_len = 9-len_hvac_modes + padding_len = 8-len_hvac_modes icon_res = icon_res + "~"*4*padding_len - command = f"entityUpd~{heading}~{navigation}~{item}~{current_temp}~{dest_temp}~{status}~{min_temp}~{max_temp}~{step_temp}{icon_res}" + command = f"entityUpd~{heading}~{navigation}~{item}~{current_temp}~{dest_temp}~{status}~{min_temp}~{max_temp}~{step_temp}{icon_res}~tCurTempLbl~tStateLbl~tALbl" self._send_mqtt_msg(command) def generate_media_page(self, navigation, entity):