Remove old workaround for high temps, Pirateweather fixed the issue

This commit is contained in:
2024-04-30 12:52:16 -04:00
parent 4a9afaf009
commit fae9129712
5 changed files with 17 additions and 80 deletions

View File

@ -494,7 +494,7 @@ script:
entity_id: input_boolean.hot_day
- if:
- condition: template
value_template: "{{ states('sensor.today_corrected_high_temp') | int <= states('input_number.cold_day_threshold') | int }}"
value_template: "{{ states('sensor.todays_high_temp') | int <= states('input_number.cold_day_threshold') | int }}"
then:
- service: input_boolean.turn_on
target:
@ -619,7 +619,7 @@ script:
data:
time: >
{% set low = states('sensor.overnight_lowest_temperature') | int %}
{% set high = states('sensor.today_corrected_high_temp') | int %}
{% set high = states('sensor.todays_high_temp') | int %}
{% if low > 60 or is_state('input_boolean.hot_day','on') %}
22:30
{% elif 50 <= low <= 60 %}
@ -700,7 +700,7 @@ script:
entity_id: input_datetime.emma_bedtime
data:
time: >
{% set high = states('sensor.today_corrected_high_temp') | int %}
{% set high = states('sensor.todays_high_temp') | int %}
{% set low = states('sensor.overnight_lowest_temperature') | int %}
{% if is_state('input_boolean.hot_day','on') %}
22:00