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 }}"