Hello, I installed double take and I made automation notify me when someone walk behind my atv in my yard garden but double take recognize 4-5 photos each person and send me 4-5 same notifications in 2 min.
I want to make this automation send 1 message in 5 min, can I do it?
this is my automation
- id: '1641904662794'
alias: תזוזה בחצר
description: ''
trigger:
- platform: state
entity_id: sensor.double_take_atv
condition: []
action:
- service: notify.mobile_app_noy
data:
message: מישהו מסתובב ליד הטרקטורון
title: זוהתה תנועה בחצר
mode: single
This delay will prevent the automation running more than once in any 5 minute period as you are using ‘single’ mode only one instance can run at a time:
- id: '1641904662794'
alias: תזוזה בחצר
description: ''
trigger:
- platform: state
entity_id: sensor.double_take_atv
condition: []
action:
- service: notify.mobile_app_noy
data:
message: מישהו מסתובב ליד הטרקטורון
title: זוהתה תנועה בחצר
- delay:
minutes: 5
mode: single
max_exceeded: silent # remove this if you want the missed attempts to be logged in your system log (not logbook).