From 4d94964e515d825fd2ed30710f42eac16e372d27 Mon Sep 17 00:00:00 2001 From: illuzn <57167030+illuzn@users.noreply.github.com> Date: Tue, 24 May 2022 23:21:12 +0930 Subject: [PATCH] Change capitalisation and config of autoWeather `AutoWeather` -> `autoWeather` for consistency with your capitalisation now accepts `true` as argument instead of auto for consistency --- apps/nspanel-lovelace-ui/luibackend/pages.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/nspanel-lovelace-ui/luibackend/pages.py b/apps/nspanel-lovelace-ui/luibackend/pages.py index f0275e4e..63756a53 100644 --- a/apps/nspanel-lovelace-ui/luibackend/pages.py +++ b/apps/nspanel-lovelace-ui/luibackend/pages.py @@ -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))