From 2d0212b2f840fef413ce234853956ec91bb77274 Mon Sep 17 00:00:00 2001 From: Blackymas Date: Mon, 9 Jan 2023 13:03:31 +0100 Subject: [PATCH] change indoor temp --- nspanel_blueprint.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/nspanel_blueprint.yaml b/nspanel_blueprint.yaml index 5a31885..f4a8e6b 100644 --- a/nspanel_blueprint.yaml +++ b/nspanel_blueprint.yaml @@ -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: >-