mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-02-25 17:02:14 +01:00
fix icon on alt layout
This commit is contained in:
@@ -100,7 +100,7 @@ class LuiPagesGen(object):
|
|||||||
|
|
||||||
altLayout = ""
|
altLayout = ""
|
||||||
if self._config._config_screensaver.raw_config.get("alternativeLayout", False) is True:
|
if self._config._config_screensaver.raw_config.get("alternativeLayout", False) is True:
|
||||||
altLayout = f"~26~{we.attributes.humidity} %"
|
altLayout = f"~{get_icon_id('water-percent')}~{we.attributes.humidity} %"
|
||||||
|
|
||||||
self._send_mqtt_msg(f"weatherUpdate~{icon_cur}~{text_cur}{weather_res}{altLayout}")
|
self._send_mqtt_msg(f"weatherUpdate~{icon_cur}~{text_cur}{weather_res}{altLayout}")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user