mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2025-12-22 07:24:24 +01:00
refactor
This commit is contained in:
@@ -112,7 +112,7 @@ class LuiPagesGen(object):
|
||||
weather_res+=f"~{up}~{icon}~{down}"
|
||||
|
||||
altLayout = ""
|
||||
if self._config._config_screensaver.raw_config.get("alternativeLayout", False) is True:
|
||||
if self._config._config_screensaver.raw_config.get("alternativeLayout", False):
|
||||
altLayout = f"~{get_icon_id('water-percent')}~{we.attributes.humidity} %"
|
||||
|
||||
self._send_mqtt_msg(f"weatherUpdate~{icon_cur}~{text_cur}{weather_res}{altLayout}")
|
||||
|
||||
Reference in New Issue
Block a user