Fixing automation name in template (#23805)

This commit is contained in:
Richard van Duijn 2022-08-18 16:44:41 +02:00 committed by GitHub
parent 8c573a344f
commit 9667963356
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -122,8 +122,8 @@ automation:
- condition: template - condition: template
value_template: >- value_template: >-
{{ {{
state_attr('automation.openuv_update', 'last_triggered') == None or state_attr('automation.update_openuv', 'last_triggered') == None or
(now() - state_attr('automation.openuv_update', 'last_triggered')) >= timedelta(hours = 0, minutes = 40) (now() - state_attr('automation.update_openuv', 'last_triggered')) >= timedelta(hours = 0, minutes = 40)
}} }}
action: action:
- service: openuv.update_data - service: openuv.update_data