Pirateweather -> Accuweather for current weather
This commit is contained in:
@ -6,6 +6,7 @@ automation:
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: sensor.climate_temp_recommendation
|
||||
from: 'open window'
|
||||
to: 'close window'
|
||||
action:
|
||||
- service: notify.notify
|
||||
@ -15,6 +16,7 @@ automation:
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: sensor.climate_temp_recommendation
|
||||
from: 'close window'
|
||||
to: 'open window'
|
||||
action:
|
||||
- service: notify.notify
|
||||
|
@ -103,7 +103,7 @@ sensor:
|
||||
{% set max = states("sensor.climate_temp_max")|float %}
|
||||
{% set target = states("sensor.climate_temp")|float %}
|
||||
{% set temp_inside = states("sensor.temperature_kai_temperature")|float %}
|
||||
{% set temp_outside = states("sensor.temperature_outside_pirateweather")|float %}
|
||||
{% set temp_outside = states("sensor.temperature_outside")|float %}
|
||||
{% set inside_max = temp_inside + states("input_number.climate_temp_accuracy")|float %}
|
||||
{% set accuracy = states("input_number.climate_temp_accuracy") |float %}
|
||||
{% if temp_inside >= target and temp_inside >= (temp_outside - accuracy) %}
|
||||
|
Reference in New Issue
Block a user