mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2025-12-23 07:54:25 +01:00
add loc para
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user