-
-
Notifications
You must be signed in to change notification settings - Fork 340
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
feat(light-card) selection limit for light brightness #263
base: main
Are you sure you want to change the base?
Conversation
Update my branch and fixed merge conflicts. Also locally tested against HA 2022.05 and works fine @piitaya Will you have a look on this feature when you have time? Thanks |
Do you have another use case for the min and max ? I'm not sure it's a good idea to add 2 new options for this. |
Some lights (e.g. smart dimmers) don't change brightness after a certain value. |
I use it for almost all my lights where I can change brightness so as before set min: 1 so it is not possible to turn it off with the slider. I also use it some some light to limit max brightness for me and also on some dashboards for my kids so they can not play as they like :) It could be useful for example if there is a volume slider to limit max (I know this PR is only for light) No more use cases for me. I understand that mushroom is to be simple and I trying to use it instead of UI minimalist. But some small features missing and this was one for me. One option would be to have that settings as ymal only. But that breaks the idea of mushroom as a ui config cards. But maybe for advanced/special settings that could be a option? Don't know if it is possible but a collapsable "advanced settings" would be nice in card settings but have not seen any cards have it. Maybe something for Home assistant to add or if it can be done for custom cards. Just some thoughts. |
Hi @skrynklarn Is your code merged? And if so, how to I use it when my Mushroom is at the current version? |
I think this pull request solves one of the biggest problem I have with most sliders controlling lights and that is that it is almost impossible to set levels to very low percentages. I never ever want the option to set it to 0% just to turn off the lights. I never do that. Switching off the lights is always a toggle operation for me and never a slider operation. I have many people in my family complaing that they cannot use the slider to set low levels. Having that said, for this usability problem it would be good enough for me just to remove the option to set the level to 0% all together (min = 1) and have no setting for that. That would still keeps things simple. In fact: even more simpler because now you can use the lower range of the slider. |
I agree min/max are nice options for all sliders. My dimmer switches let me hardware set the max and min but I still would prefer to set most of the lights to 1% easily. I currently do that with call_services on doubletap action but friends and family don't know all my secret shortcuts. |
The feature would be very welcome and is something that will fix #847 and feature #1217 (partially). |
Im also looking for this! Also for media card to be able to set max volume to like 30% so kids won't get deaf when they control their own music 😂😅 |
Other sliders cards have ability so set a limit, min and max value, that user can select in the slider.
Example of use case:
Set min to 1, so it will be easier to the user to set 1% instead of 0 and turn off the light by accident.