fix indoor temp

This commit is contained in:
Blackymas
2023-01-09 15:22:38 +01:00
parent 2d0212b2f8
commit d44ced1cd5

View File

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