From d23fe9616c3b82a90521290733ddd80c45aad102 Mon Sep 17 00:00:00 2001 From: Edward Firmo <94725493+edwardtfn@users.noreply.github.com> Date: Wed, 29 Mar 2023 15:49:29 +0200 Subject: [PATCH] fix: ignore unassigned indoor sensor Fix for when sensor is set but unavailable. --- nspanel_blueprint.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nspanel_blueprint.yaml b/nspanel_blueprint.yaml index 5d75718..8bf0a9b 100644 --- a/nspanel_blueprint.yaml +++ b/nspanel_blueprint.yaml @@ -4311,7 +4311,7 @@ action: - service: "{{ command_text_printf }}" data: component: home.current_temp - message: "{{ states(indoortemp) | round(1) if indoortemp is match 'sensor.' and states(indoortemp) in ['unavailable', 'unknown', 'none'] else states(nspaneltemp) | round(1) }}{{ weather.units.temperature }}" + message: "{{ states(indoortemp) | round(1) if indoortemp is match 'sensor.' and states(indoortemp) not in ['unavailable', 'unknown', 'none'] else states(nspaneltemp) | round(1) }}{{ weather.units.temperature }}" ##### Weather Icon Home Page ##### - delay: