HA_blueprints icon indicating copy to clipboard operation
HA_blueprints copied to clipboard

[Feature Request]: Cooldown should be dependent on sent notification instead of trigger

Open joekerna opened this issue 1 year ago • 4 comments

Describe what you are trying to accomplish and why in non technical terms I'd like to have the cooldown feature applied to actual sent notifications instead of triggers

Describe the solution you'd like Example: I'd like to be notified about persons in my camera feed but not about bicycles. I have a cooldown time of 30 seconds. What happens is the following: A person on a bicycle appears in the camera stream and the detector detects the bicycle, but not the person (yet). It fires a trigger which contains a bicycle which is dismissed because I don't want to be notified about bicycles. Two seconds later it detects the person (on the bike) and fires the corresponding trigger. I'd like to be notified (person) but I'm not because two seconds is way below the cooldown time.

What I'm looking for is for the cooldown feature to not be dependent on last_triggered but something like last_notified or last_executed

Describe alternatives you've considered I've looked for a HomeAssistant feature like last_actioned or something similar but couldn't find one.

joekerna avatar Nov 08 '23 08:11 joekerna