mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-21 16:27:19 +00:00
Fixing automation name in template (#23805)
This commit is contained in:
parent
8c573a344f
commit
9667963356
@ -122,8 +122,8 @@ automation:
|
||||
- condition: template
|
||||
value_template: >-
|
||||
{{
|
||||
state_attr('automation.openuv_update', 'last_triggered') == None or
|
||||
(now() - state_attr('automation.openuv_update', 'last_triggered')) >= timedelta(hours = 0, minutes = 40)
|
||||
state_attr('automation.update_openuv', 'last_triggered') == None or
|
||||
(now() - state_attr('automation.update_openuv', 'last_triggered')) >= timedelta(hours = 0, minutes = 40)
|
||||
}}
|
||||
action:
|
||||
- service: openuv.update_data
|
||||
|
Loading…
x
Reference in New Issue
Block a user