mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-02-14 17:08:17 +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
|
# send color if configured in screensaver
|
||||||
if theme is not None:
|
if theme is not None:
|
||||||
if not ("AutoWeather" in theme and theme["AutoWeather"] == "auto"):
|
if not ("autoWeather" in theme and theme["autoWeather"]):
|
||||||
state = None
|
state = None
|
||||||
self._send_mqtt_msg(get_screensaver_color_output(theme=theme, state=state, alternativeEnable=alternativeEnable))
|
self._send_mqtt_msg(get_screensaver_color_output(theme=theme, state=state, alternativeEnable=alternativeEnable))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user