mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2025-12-23 07:54:25 +01:00
two temp mode
This commit is contained in:
@@ -123,7 +123,7 @@ The following message can be used to update the content on the cardEntities Page
|
|||||||
|
|
||||||
### cardThermo 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
|
`[[]]` are not part of the command~ this part repeats 8 times for the buttons
|
||||||
|
|
||||||
|
|||||||
BIN
HMI/US/portrait/nspanel.tft
Normal file
BIN
HMI/US/portrait/nspanel.tft
Normal file
Binary file not shown.
BIN
HMI/nspanel.HMI
BIN
HMI/nspanel.HMI
Binary file not shown.
BIN
HMI/nspanel.tft
BIN
HMI/nspanel.tft
Binary file not shown.
@@ -243,8 +243,9 @@ class LuiPagesGen(object):
|
|||||||
len_hvac_modes = len(hvac_modes)
|
len_hvac_modes = len(hvac_modes)
|
||||||
padding_len = 8-len_hvac_modes
|
padding_len = 8-len_hvac_modes
|
||||||
icon_res = icon_res + "~"*4*padding_len
|
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)
|
self._send_mqtt_msg(command)
|
||||||
|
|
||||||
def generate_media_page(self, navigation, entity):
|
def generate_media_page(self, navigation, entity):
|
||||||
|
|||||||
Reference in New Issue
Block a user