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)