From b9524ce417f795f5d4ae5b793510eeb477eb37d4 Mon Sep 17 00:00:00 2001 From: joBr99 <29555657+joBr99@users.noreply.github.com> Date: Fri, 17 Jun 2022 17:26:00 +0200 Subject: [PATCH] fix timeAddTemplate in combination witht theme config --- apps/nspanel-lovelace-ui/luibackend/theme.py | 3 ++- docs/config-screensaver.md | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/nspanel-lovelace-ui/luibackend/theme.py b/apps/nspanel-lovelace-ui/luibackend/theme.py index b344bee9..48eda7aa 100644 --- a/apps/nspanel-lovelace-ui/luibackend/theme.py +++ b/apps/nspanel-lovelace-ui/luibackend/theme.py @@ -23,7 +23,8 @@ default_screensaver_color_mapping = { "tForecast4Val": "65535", "bar": "65535", "tMRIcon": "65535", - "tMR": "65535" + "tMR": "65535", + "tTimeAdd": "65535" } default_weather_icon_color_mapping = { diff --git a/docs/config-screensaver.md b/docs/config-screensaver.md index 2c1cee52..78deba2e 100644 --- a/docs/config-screensaver.md +++ b/docs/config-screensaver.md @@ -138,6 +138,7 @@ Example for the theme config: #bar: [220, 0, 255] #tMRIcon: [220, 0, 255] #tMR: [220, 0, 255] + #tTimeAdd: [220, 0, 255] #autoWeather automatically colors the screensaver weather icons based upon weather. Uncomment the following line to enable. #autoWeather: true