Is there a relatively simple way to trigger my automation if a binary sensor changes often (for example 30 times in 15 minutes)?
I have 2 security cameras with motion detection installed and have motion sensors for them.
The problem is that very often spiders make cobwebs in front of them which causes my cameras to permanently record at night if there is any wind.
What I want to do is to send a notification to my phone that I have to clear the cams if the motion is dectected so often like in the screenshot.
If someone can help me here, I would also need a way to only trigger this only once (per day) so I won’t wake up with hundreds notifications because for the whole night it has changed 30 times in 15 minutes.
I would do it with a helper switch and condition testing but maybe there is a better way?