mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2025-12-24 08:24:25 +01:00
Change capitalisation and config of autoWeather
`AutoWeather` -> `autoWeather` for consistency with your capitalisation now accepts `true` as argument instead of auto for consistency
This commit is contained in:
@@ -131,7 +131,7 @@ class LuiPagesGen(object):
|
||||
|
||||
# send color if configured in screensaver
|
||||
if theme is not None:
|
||||
if not ("AutoWeather" in theme and theme["AutoWeather"] == "auto"):
|
||||
if not ("autoWeather" in theme and theme["autoWeather"]):
|
||||
state = None
|
||||
self._send_mqtt_msg(get_screensaver_color_output(theme=theme, state=state, alternativeEnable=alternativeEnable))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user