How can I set an automation to not be able to run itself again within X seconds of itself last being run?
For further clarity, I have a webhook set to trigger when a camera detects motion. When this happens it tends to send several webhooks at once, so it triggers the automation several times in HA. I would like the automation to trigger a max of once every 10 seconds.
Though don’t use that for longer than a few 10s of second or the automation has a higher probability of being interrupted, leading to unpredictable results. Also setting max_exceeded: silent will prevent warnings in the logs form attempting more than one automation run at once.