change indoor temp

This commit is contained in:
Blackymas
2023-01-09 13:03:31 +01:00
parent b018c22922
commit 2d0212b2f8

View File

@@ -4502,6 +4502,19 @@ action:
component: home.outdoor_temp
message: "{{ outdoor_temp }}°"
##### NSPanel boot init - Indoor Temp #####
- variables:
indoor_temp: >-
{%- if indoortemp is match "sensor." and states(indoortemp).state != "unavailable" -%} {{ states(indoortemp) |round(1) }}
{%- else -%} {{ nspaneltemp |round(1) }}
{%- endif -%}
- delay:
milliseconds: "{{ delay_value }}"
- service: "{{ command_text_printf }}"
data:
component: home.current_temp
message: "{{ indoor_temp }}°"
##### Weather Icon Home Page #####
- variables:
weather_pic: >-