fix indoor temp
This commit is contained in:
@@ -2815,7 +2815,7 @@ action:
|
|||||||
- variables:
|
- variables:
|
||||||
indoor_temp: >-
|
indoor_temp: >-
|
||||||
{%- if indoortemp is match "sensor." and states(indoortemp).state != "unavailable" -%} {{ states(indoortemp) |round(1) }}
|
{%- if indoortemp is match "sensor." and states(indoortemp).state != "unavailable" -%} {{ states(indoortemp) |round(1) }}
|
||||||
{%- else -%} {{ nspaneltemp |round(1) }}
|
{%- else -%} {{ states(nspaneltemp) |round(1) }}
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
- delay:
|
- delay:
|
||||||
milliseconds: "{{ delay_value }}"
|
milliseconds: "{{ delay_value }}"
|
||||||
@@ -4506,7 +4506,7 @@ action:
|
|||||||
- variables:
|
- variables:
|
||||||
indoor_temp: >-
|
indoor_temp: >-
|
||||||
{%- if indoortemp is match "sensor." and states(indoortemp).state != "unavailable" -%} {{ states(indoortemp) |round(1) }}
|
{%- if indoortemp is match "sensor." and states(indoortemp).state != "unavailable" -%} {{ states(indoortemp) |round(1) }}
|
||||||
{%- else -%} {{ nspaneltemp |round(1) }}
|
{%- else -%} {{ states(nspaneltemp) |round(1) }}
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
- delay:
|
- delay:
|
||||||
milliseconds: "{{ delay_value }}"
|
milliseconds: "{{ delay_value }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user