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:
illuzn
2022-05-24 23:21:12 +09:30
committed by GitHub
parent d4bd671715
commit 4d94964e51

View File

@@ -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))