From d44ced1cd56e68f75c37febbffc8ad4b22f2cc58 Mon Sep 17 00:00:00 2001 From: Blackymas Date: Mon, 9 Jan 2023 15:22:38 +0100 Subject: [PATCH] fix indoor temp --- nspanel_blueprint.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nspanel_blueprint.yaml b/nspanel_blueprint.yaml index f4a8e6b..94c42c2 100644 --- a/nspanel_blueprint.yaml +++ b/nspanel_blueprint.yaml @@ -2815,7 +2815,7 @@ action: - variables: indoor_temp: >- {%- if indoortemp is match "sensor." and states(indoortemp).state != "unavailable" -%} {{ states(indoortemp) |round(1) }} - {%- else -%} {{ nspaneltemp |round(1) }} + {%- else -%} {{ states(nspaneltemp) |round(1) }} {%- endif -%} - delay: milliseconds: "{{ delay_value }}" @@ -4506,7 +4506,7 @@ action: - variables: indoor_temp: >- {%- if indoortemp is match "sensor." and states(indoortemp).state != "unavailable" -%} {{ states(indoortemp) |round(1) }} - {%- else -%} {{ nspaneltemp |round(1) }} + {%- else -%} {{ states(nspaneltemp) |round(1) }} {%- endif -%} - delay: milliseconds: "{{ delay_value }}"