Hi!
So I have this automation that uses my speakers to tell me when there is someone in front of the camera.
alias: "Notification : Front door motion"
description: ""
trigger:
- platform: state
entity_id:
- binary_sensor.front_door_motion_detected
to: "on"
condition: [ ]
action:
- action: tts.speak
target:
entity_id: tts.google_en_com
data:
cache: true
media_player_entity_id: media_player.googlehomemini_office
message: Front door motion detected
mode: single
It works very well but if some stays a little bit in front of the camera while not moving a lot, the entity goes from “clear” to “detected” multiple times and having my speakers telling me there is someone every 5 seconds is not fun.
Is there a way to make sure that if the automation have been triggered, wait X minutes before triggering again?
thanks