-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
New feature: Mute when time is outside time_interval #2778
Comments
Nice @dubyte , I think this is a cool idea, and a natural extension of the time intervals concept so thanks for raising it. We should probably clarify the semantics of how this will work before considering further. Some of my rough thoughts:
Any thoughts? |
I agree about deprecating mute_time_interval. About the precedence you mentioned, that is the current behavior of the PR but config is not mention it. I can update the PR or what would be the next steps? |
Ahh i just noticed that I reference the PR #2779 but this is a comment in the New Feature "issue" Thanks |
I updated the feature request to continue talking about this. Thanks |
Closed by #2779 |
Currently mute_intervals allow to express the interval where the alarm won't be sent.
But would be useful to mute in the complement of the mute_time_interval.
Let's check at this example:
"mute_time_intervals" keyword to describe the intervals will be deprecated. Instead the configuration will use "time_intervals". When in a route there is active and mute time intervals, the mute_time_interval will have higher precedence.
For example:
Let's imagine that there is a time interval for officeHours 9am - 5pm and a lunch hour in the middle of the day. With this the alert will be sent during officeHours but it wont receive during the lunch.
Updated about:
The text was updated successfully, but these errors were encountered: