From bacfe4bec92268d6e5126bdbf7894e58aae92cdc Mon Sep 17 00:00:00 2001 From: Blackymas Date: Mon, 9 Jan 2023 10:13:25 +0100 Subject: [PATCH] indoor temp sensor --- nspanel_blueprint.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/nspanel_blueprint.yaml b/nspanel_blueprint.yaml index 2085901..4449814 100644 --- a/nspanel_blueprint.yaml +++ b/nspanel_blueprint.yaml @@ -2814,8 +2814,8 @@ action: ##### NSPanel boot init - Indoor Temp ##### - variables: indoor_temp: >- - {%- if indoortemp is match "sensor." and states(indoortemp).state != "unavailable" -%} {{ states(indoortemp) |round(0) }} - {%- else -%} {{ nspaneltemp }} + {%- if indoortemp is match "sensor." and states(indoortemp).state != "unavailable" -%} {{ states(indoortemp) |round(1) }} + {%- else -%} {{ nspaneltemp |round(1) }} {%- endif -%} - delay: milliseconds: "{{ delay_value }}" @@ -4364,7 +4364,7 @@ action: - service: "{{ command_text_printf }}" data: component: home.current_temp - message: "{{ trigger.event.data.new_state.state |round(0) }}°" + message: "{{ trigger.event.data.new_state.state |round(1) }}°" ##### Indoor NSPANEL Temp Entity ##### - conditions: @@ -4380,7 +4380,7 @@ action: - service: "{{ command_text_printf }}" data: component: home.current_temp - message: "{{ trigger.event.data.new_state.state |round(0) }}°" + message: "{{ trigger.event.data.new_state.state |round(1) }}°" ##### Weather state change update #####