This commit is contained in:
joBr99
2022-05-23 15:35:11 +02:00
parent d7b0feea8a
commit c82e0c5b54
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))