my-cards icon indicating copy to clipboard operation
my-cards copied to clipboard

Color slider for lights

Open FerretMonger opened this issue 2 years ago • 5 comments

I would like to use the slider for controlling color values for lights.

RGB Hue Saturation etc...

FerretMonger avatar Apr 22 '22 11:04 FerretMonger

Yeah, I have thought about it. But how would it work? Would you have 3 sliders, one for each color Red, Green & Blue?

AnthonMS avatar Apr 30 '22 20:04 AnthonMS

I can see multiple versions.

Either just one per "channel" (RGB) or one for Hue and one for Saturation.

It's always a bit messy to deal with colored lights. You want Brightness ofc, and you want color, but you also sometimes want to desaturate the color a bit, which means that you end up with a lot of sliders for one light or group, which in turn makes the dashboard become very bloated.

If I could choose I would want the option to choose if the slider should control brightness, hue or saturation. That way i could set up the brightness to be a large slider, and then maybe put hue and saturation as two smaller sliders underneath, for instance.

FerretMonger avatar Apr 30 '22 21:04 FerretMonger

Yeah I have had the same dilemma when thinking about setting it up for RGB. But I could set the type up to use brightness, hue and saturation instead of just brightness and warmth.

I will look into it. There are some problems with warmth slider already. Maybe I can fix these issues simultaneously. I don't know when though. There are a lot of stuff I would like to understand fully in the libraries that I use, so I can start using templating in the config.

AnthonMS avatar Apr 30 '22 21:04 AnthonMS

Sounds great! I'll take whatever I can get ❤️

FerretMonger avatar Apr 30 '22 21:04 FerretMonger

You can make a pop-up with multiple sliders.

8D51B6B1-8DA6-4F24-90B8-B79835EA40D8

246E5A79-752C-4272-ACAD-ACFB87BC7742

35E52D61-03FA-4C31-82B4-8A1C9C619FC9

AndyVRD avatar May 01 '22 05:05 AndyVRD