[Bug]: light card color temperature slider does not show coldest temperatures
See original GitHub issueCurrent Behavior
When light has color temperature capability, HA displays the slider going from coldest to warmest temp as a blue to orange gradient. Mushroom card shows the slider going from white to orange.
In your original implementation, the cold temp was correctly shown (and still on the readme example image), but later a PR #48 removed this to set to white as the coldest temp. While I did see there was a technical reason, I do believe this is actually kind of a UI issue.
Couple of reason:
- The most obvious is that by having white as coldest light: you don’t know what color you are setting! Quite a few HA integrations have spent some time aligning the scales so that the white HA is really the white of the light. Using the mushroom card, I cannot exactly see where is the actual white lamp.
- When you bring up the HA more info panel for that light, the scale shows to from blue to orange, so having a white to orange scale in mushroom card is inconsistent and will throw user off balance as it is not expected. (I did thought there was an issue with my setup until I dig through the code of the mushroom card…)
- I would argue that having the light icon to match the color temp slider is less of a priority for good design than having consistent slider scale with HA and being able to set colors properly
Expected Behavior
Having the same color temperature slider as HA in the mushroom card.
Steps To Reproduce
No response
Environment
- OS:
- Node:
- Version:
- Hassio: 2022.5.4
Anything else?
No response
Issue Analytics
- State:
- Created a year ago
- Reactions:2
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Temperature slider is inconsistent with icon color · Issue #12727
I have tried a different browser to see if it is related to my browser. ... [Bug]: light card color temperature slider does...
Read more >color temperature - original temperature confused with ...
Setting a slider to 3000K should indeed make the middle image "whiter", not warmer, since the original temperature was wrong (the camera should' ......
Read more >What Every Videographer Should Know About The Color ...
If the white balance in your footage is off, the most likely cause is that the color temperature hasn't been accounted for correctly....
Read more >Chapter 8 - Flight Instruments - FAA
not compensate for nonstandard temperature. Since cold air is denser than warm air, when operating in temperatures that are colder than standard, ...
Read more >Heat Treatment for Bedbug Mitigation in Fire Sprinklered ...
Exposing an “ordinary temperature” sprinkler to temperatures in excess of 100°F during pest control procedures is inconsistent with both the requirements of the ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
if
hass.states[entity_id].attributes.color_mode === "color_temp"
is true its in color temp mode.You probably don’t want to adjust the color temp slider based on the brightness value of the light as it will be quite confusing when its all pale grey.
I’ve opened an issue into the homeassistant’s repo.