fix indoor temp
This commit is contained in:
@@ -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 }}"
|
||||
|
||||
Reference in New Issue
Block a user