Improvements to hot weather detection

This commit is contained in:
2023-05-31 12:26:22 -04:00
parent f1718ff545
commit 89013d70b9
3 changed files with 41 additions and 2 deletions

View File

@ -484,8 +484,9 @@ script:
{{ as_timestamp(this_weekday(3)) | timestamp_custom('%Y-%m-%d') }}
{% endif %}
- if:
- condition: template
value_template: "{{ states('sensor.todays_high_temp') | int >= states('input_number.hot_day_threshold') | int }}"
- condition: state
entity_id: binary_sensor.heat_warning
state: 'on'
then:
- service: input_boolean.turn_on
target: