mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-02-22 14:08:37 +01:00
fix
This commit is contained in:
@@ -305,7 +305,10 @@ class LuiPagesGen(object):
|
|||||||
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
|
||||||
|
|
||||||
command = f"entityUpd~{heading}~{navigation}~{item}~{current_temp} {temperature_unit}~{dest_temp}~{status}~{min_temp}~{max_temp}~{step_temp}{icon_res}~{get_translation(self._locale, "currently")}~{get_translation(self._locale, "state")}~~{temperature_unit_icon}"
|
currently_translation = get_translation(self._locale, "currently")
|
||||||
|
state_translation = get_translation(self._locale, "state")
|
||||||
|
|
||||||
|
command = f"entityUpd~{heading}~{navigation}~{item}~{current_temp} {temperature_unit}~{dest_temp}~{status}~{min_temp}~{max_temp}~{step_temp}{icon_res}~{currently_translation}~{state_translation}~~{temperature_unit_icon}"
|
||||||
self._send_mqtt_msg(command)
|
self._send_mqtt_msg(command)
|
||||||
|
|
||||||
def generate_media_page(self, navigation, title, entity):
|
def generate_media_page(self, navigation, title, entity):
|
||||||
|
|||||||
Reference in New Issue
Block a user