-
-
Notifications
You must be signed in to change notification settings - Fork 25
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
[FR ]Time-Based Exemptions #139
Comments
The simplest workaround could be a template binary sensor which is ON on a defined time period (could be defined ether as a static interval or with a help of 2 |
But where would that go in terms of enabling the restrictions on the card? |
You can set restrictions dependently on some entity. |
I totally missed that condition! That being said, still quite faffy! |
I am totally opened. |
Ah you know what, you're totally right. I had it in my head that I was going to have to add:
But actually a template sensor is way simpler, and I now feel rather stupid
Thank god for ChatGPT |
Oh man, please do not. This is called "diversity". The more possible solutions we have - the better. Let's just choose the most flexible one))). Thanks for contribution!!!! |
Is your feature request related to a problem? Please describe.
Sometimes, when scrolling through my list of devices, I accidentally turn on my daughter's room light at night. It would be really helpful to have a way to prevent this automatically, rather than having to remember to disable the switch manually each night.
I could see the restriction card being a perfect way to do this. Especially with the confirmation lock.
Describe the solution you'd like
A "time exemption" feature could be a great addition to restriction-card. This would allow exemptions based on a specific time range, so certain users (or everyone) could be restricted from toggling a device during set hours (e.g., 10 PM to 7 AM). This would be really useful for preventing accidental interactions at night.
Describe alternatives you've considered
Additional context
This feature could work similarly to the existing exemption system but with a defined time range instead of user.
The text was updated successfully, but these errors were encountered: