Quiet Mode Toggle #18
lordratner
started this conversation in
Ideas
Replies: 1 comment 2 replies
-
I like the idea of a quiet hours toggle. I could argue for both ways, but I think I prefer the fancier solution as well. That way you could manually override both the on or off status of the quiet hours until the next scheduled start/end time. With that being said, if no quiet hours have been configured, does it become permanent until disabled (either manually or via an automation)? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It would be really handy to have a "Quiet Mode" or "Sleep Mode" toggle in addition to the quiet hours, for non-predictable schedules. For example, if my kids go down for a nap, and I use the nap automation, it could put the VB into quiet mode without having to adjust the times. Then the board would come out of quiet mode either when the integration end_time passes (if set), or when the toggle for quiet mode is manually turned off.
I think the way to make this change would be:
Easiest:
Expose a switch entity in HA that the user can turn on and off. When the quiet_hours() check is run. add a line to check if the switch is on. There is no connection between the switch and the start/end times.
Fancier
Check the time within the integration and when the quiet_start passes, turn the switch on. When quiet_end passes, turn the switch off. Then change quiet_hours() to only check if the switch is on or off. This allows the user to turn off the time-based quiet hours with the switch one time, and the behavior will reset once the quiet hours have ended.
I think I can work my way through this idea eventually, but I wanted to see what your thoughts are.
Beta Was this translation helpful? Give feedback.
All reactions