fix state translation path

This commit is contained in:
joBr99
2022-06-05 09:47:41 +02:00
parent 7ff02f5dc7
commit f52f0f5add

View File

@@ -332,7 +332,7 @@ class LuiPagesGen(object):
icon_res = icon_res + "~"*4*padding_len
currently_translation = get_translation(self._locale, "frontend.ui.card.climate.currently")
state_translation = get_translation(self._locale, "frontend.ui.card.generic.state")
state_translation = get_translation(self._locale, "frontend.ui.panel.config.devices.entities.state")
action_translation = get_translation(self._locale, "frontend.ui.card.climate.operation")
command = f"entityUpd~{heading}~{navigation}~{item}~{current_temp} {temperature_unit}~{dest_temp}~{state_value}~{min_temp}~{max_temp}~{step_temp}{icon_res}~{currently_translation}~{state_translation}~{action_translation}~{temperature_unit_icon}"