I have a variety of sensors and events that trigger when folks turn up in my driveway. Unifi Protect integration provides car spotted, person spotted, line crossed, etc. I also have a motion sensor.
I’d like to have a single sensor derived from these that only fires once, does not fire for another few minutes once fired and can reliably trigger automations that would do stuff like play some TTS over my smart speakers, apply logic about when to do this and which groups to do it to (like only the main bedroom at night, and never when we’re away).
I’ve googled combining sensors and there are so many answers, but most of them seem to be about combining a sensor and a switch, or adding two values into a template.
What is the best way to do this, and that is reliable as a trigger for automations?