Open hAMMERlized opened 1 year ago
True, the "light" cards include a non-clickable slider that displays the brightness percentage of their entity. While it is possible to make the slider clickable, it would introduce the following limitations:
Would you like to experiment with the slider functionality despite these constraints?
Ok i didn't know that. Right now the "more-info" actions open up the core popup where i can adjust the brightness right and change a color, right?
1) Concerning changing the colors: To be honest personally i am not changing the color so often, at least i did not at all, after i have set the right colors up. But if someone would like to, there is enough space in the scenes area in the footer, isn't it?
2) No clickable name, icon and lable: As far as i know using the slider card the light turns on as soon asmi am sliding the brightness from 0% upward. Same for turning the lights off, sliding down until 0%.
So this way we could turn the lights on and off easily. But for still using the "more-info" action you could implement it by the way you said. Ever a long press or a quick double tap (personally prefered).
Of course if it helps you i will give the slider function a try. Just let me know how or what to do!
Yes, currently, a tap action on the Name/Label part will open the core light dialog, which is indeed comprehensive and user-friendly. As you mentioned, it is still possible to include up to 5 scenes per view, which should help avoid opening multiple lights to get it done .
It's ok, I will produce a clickable slider light card for you to test ;)
Here are the previews of slider versions that allow direct brightness control, with two limitations:
Okay, what should I do with this 2 yaml files to test it?
Sorry, as GitHub doesn't let me upload .yaml
files, you have to manually create those two files (light_slider.yaml
and light_slider_expandable.yaml
) next to the other template cards in dashboards/quick_look_mobile/templates/cards
.
Restart Home Assistant
Then, go to the 4.1_light_bulbs.yaml
and choose the template of your choice (light
, light_slider
, light_expandable
, light_slider_expandable
)
Ah okay. Will do that later that day give some feedback. Thanks.
Hi, did you have a positive experience with the light_slider card? Do you have any other suggestions to share, or can we consider this issue closed? :)
Hey man,
as I can speak just for me, my dashboard has to be as comfortable as possible which means every click that's not needed is too much.
So how about a slider option for light brightness (single bulbs and groups) in the home overview and light section. I think I have seen some code snippets in the yaml files with a slider option already? Not sure, but it doesn't work for me.