From 9ef8287be7d0e13944811773a7c4bb4bc498df68 Mon Sep 17 00:00:00 2001 From: Edward Firmo <94725493+edwardtfn@users.noreply.github.com> Date: Sun, 23 Apr 2023 18:52:17 +0200 Subject: [PATCH] Fix error on weather pages pic The weather picture was broken when breaking down that line of code. --- nspanel_blueprint.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nspanel_blueprint.yaml b/nspanel_blueprint.yaml index bce6acc..dcdec83 100644 --- a/nspanel_blueprint.yaml +++ b/nspanel_blueprint.yaml @@ -5453,8 +5453,7 @@ action: - service: '{{ nextion.commands.printf }}' data: cmd: > - {{ page_name }}.weather_icon.pic= - {{ + {{ page_name }}.weather_icon.pic={{ nextion.pics.weather[states(weather_entity) | default("unavailable") if weather_entity is string else "unavailable"] | default(None) if condition == "unknown" and page_name == nextion.pages.weatherpages[0] else nextion.pics.weather[condition] | default(None)