two temp mode

This commit is contained in:
Johannes
2022-05-14 17:34:01 +02:00
parent 0a1374a63a
commit 35f6302fec
5 changed files with 3 additions and 2 deletions

View File

@@ -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):