automations.yaml
This commit is contained in:
+1
-1
@@ -2427,7 +2427,7 @@
|
||||
enabled: false
|
||||
conditions:
|
||||
- condition: template
|
||||
value_template: "{{ (now() - state_attr('automation.motion_backyard_ai_description_version_2', 'last_triggered')).total_seconds() > 60 }}"
|
||||
value_template: "{{ (now() - state_attr(this.entity_id, 'last_triggered')).total_seconds() > 60 }}"
|
||||
- condition: template
|
||||
value_template: "{{ trigger.event.data.new_state.attributes.event_type in ['motion',
|
||||
'person', 'animal', 'chime'] }}"
|
||||
|
||||
Reference in New Issue
Block a user