piitaya / lovelace-mushroom

Build a beautiful Home Assistant dashboard easily
Apache License 2.0
3.76k stars 341 forks source link

[Feature]: Light Card Temperature Color Control Readout #391

Open GitHubGoody opened 2 years ago

GitHubGoody commented 2 years ago

Is your feature request related to a problem?

I cannot see the value of the temperature color while setting.

Describe the solution you'd like

If temperature color control is enabled, show the value of the temperature color slider right next to the brightness readout under the light's name.

As a bonus, it could also display when in range of the more typical Kelvin settings (e.g. warm white, cool white, daylight).

Describe alternatives you've considered

None

Additional context

https://blog.lifx.com/understanding-kelvin-and-light-temperature-5e898ed6dc90

piitaya commented 2 years ago

I think it can be good to display the value for all sliders. May be something like this ? https://ulic75.github.io/flat-slider/demos ? We also have this problem when setting temperature on the future climate card : https://github.com/piitaya/lovelace-mushroom/pull/258. We need to find a compact design to display value of the slider 🙂

GitHubGoody commented 2 years ago

I think it can be good to display the value for all sliders. >

I agree. LIFX does this pretty well by displaying the color value as a 0-360° value where 0°=red, 120°=green, and 240°=blue.

I WOULD also like the option to add ~5 discrete color options...maybe most recent?

image

May be something like this ? https://ulic75.github.io/flat-slider/demos ?

I think the way the value is displayed while setting it looks good. Personally, I'd also like to see the currently set values for brightness and color/color temp (as configured) right under the card name as well.