This commit is contained in:
Johannes
2022-05-23 15:35:11 +02:00
parent 20b9c6e2a3
commit 6c97b814a9
2 changed files with 19 additions and 22 deletions

View File

@@ -131,9 +131,7 @@ class LuiPagesGen(object):
# send color if configured in screensaver
theme = self._config.get("theme")
if theme is not None:
if "AutoWeather" in theme and theme["AutoWeather"] == "auto":
# do nothing
else:
if not ("AutoWeather" in theme and theme["AutoWeather"] == "auto"):
state = None
self._send_mqtt_msg(get_screensaver_color_output(theme=theme, state=state))