Migrate custom_weather automations #154

This commit is contained in:
2023-10-02 19:18:52 -04:00
parent 46b20a42cf
commit 8ffc894dd6
2 changed files with 19 additions and 21 deletions

View File

@ -2182,3 +2182,22 @@
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: template
value_template: '{% from ''time.jinja'' import ct %} {% set ct = ct() | int %}
{{ ct <= 63900 }}
'
action:
- service: input_number.set_value
target:
entity_id: input_number.today_corrected_high_temp
data:
value: '{{ states(''sensor.todays_high_temp'') | int }}'
mode: single