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

@ -2351,33 +2351,6 @@
entity_id: input_boolean.audible_notifications
data: {}
mode: restart
- id: '1696288503650'
alias: Fix High Temperature
description: Gotta make up for one of a few shortcomings in Pirateweather
trigger:
- platform: time_pattern
minutes: /5
condition:
- condition: time
before: '18:00:00'
action:
- service: input_number.set_value
target:
entity_id: input_number.today_corrected_high_temp
data:
value: '{{ states(''sensor.todays_high_temp'') | int }}'
alias: Update corrected high temp for today
- if:
- condition: time
after: 06:10:00
then:
- service: input_number.set_value
data:
value: '{{ states(''sensor.tomorrow_s_high_temp'') | int }}'
target:
entity_id: input_number.tomorrow_corrected_high_temp
alias: If after 6:10am, also update high temp for tomorrow
mode: single
- id: '1696288846954'
alias: Tony Meds Handler
description: Make sure Tony has taken his meds at the scheduled times
@ -2682,11 +2655,6 @@
- input_boolean.skip_disarm
- input_boolean.skip_rearm
data: {}
- service: input_number.set_value
data:
value: '{{ states(''input_number.tomorrow_corrected_high_temp'') | int }}'
target:
entity_id: input_number.today_corrected_high_temp
- service: counter.reset
target:
entity_id: