From 62b8ac2180f41194fbab39250a34dbca49d3f475 Mon Sep 17 00:00:00 2001 From: Home Assistant Version Control Date: Fri, 24 Jul 2026 18:01:19 +0000 Subject: [PATCH] automations.yaml --- automations.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/automations.yaml b/automations.yaml index ae6ade5..f038443 100644 --- a/automations.yaml +++ b/automations.yaml @@ -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'] }}"