-
Notifications
You must be signed in to change notification settings - Fork 715
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Having the threshold also on OrTrigger? #453
Comments
Sounds like something I would like to consider. I have more important work to do on v4.0 first though. |
Hi @agronholm , is it still something on your roadmap? Thank you, |
Yes, have a look at #465. |
@agronholm inside there is a check:
It seems it should point to this current one #453 (I didn't see threshold mention in the #427)? |
I'm looking into getting this to v4.0. If you want this feature, the best course of action would be to make a PR against master. I was not sure how the threshold logic would work with |
With stateful combining triggers now, what problem does threshold solve? |
Just trying to understand the feature right now. As far as I understand, if a trigger triggers the next OrTrigger, you dont want that OrTrigger to be triggered again for threshold seconds, correct? If that, maybe we should pick another name as this is a completely different functionality as the threshold parameter for the AndTrigger. I would suggest something like cooldown_period, as it is used in similar contexts elsewhere, accurately describes the functionality, and is distinct from the AndTriggers threshold concept. If that is correct, I might give it a try implementing it myself before Christmas 🎄 |
Also, just remembered to use pre-commit (-:
Hi @agronholm ,
Just curious : you added the threshold parameter onto
AndTrigger
but I'm wondering if you plan or if you could add it to theOrTrigger
?In my case I may have different intervals that can sometimes be distant from 0, 1 or 2 seconds and I would like to avoid triggering all of them, but just one when in the same threshold/window.
Thank you,
The text was updated successfully, but these errors were encountered: