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