question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Bug]: wrong colour brightness slider at bluest color temperature for light card

See original GitHub issue

Current Behavior

The color of the brightness slider for the light card shows grey when the light is set to the coldest color temperature.

Expected Behavior

Brightness slider should be white

Steps To Reproduce

Add light card Set color temperature to coldest Observe brightness slider color

Environment

HA OS 8.2
HA 22.7.02b
Mushroom cards v2.0.0

Anything else?

No response

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
piitayacommented, Jul 3, 2022

Mine with the coldest temperature color (I use the Mushroom theme but it works for default theme too):

Light theme : Capture d’écran 2022-07-03 à 23 11 47

Dark theme : image

You can see in your profile if your theme support light/dark mode : image

0reactions
woytekbodecommented, Jul 3, 2022

If you found a way to improve the color without impacting the readability, feel free to do a PR 🙂

It’s a difficult one! I have thought a bit about this but haven’t been able to come up with a solution. For now I think I’ll live with the current implementation or go back to the version without the light color in the brightness slider.

edit: I take a quick look into the code and I see you actually deal with the light/dark issue in the code by checking the HA setting. It just turns out that I use a dark theme dat doesn’t use this option so the check in the card doesn’t work!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Default turn-on brightness/color temperature for lights
Purpose This Blueprint allows you to select 1+ lights/light groups and their default brightness and color temperature.
Read more >
Incorrect Color mode for 3rd party lights in Hue integration
I have a routine that changes the brightness and the temperature of the lights according to the time (Circadian lighting).
Read more >
Understanding White Balance and Color Temperature ... - B&H
Well, this color is directly attributed to the surface temperature of the star where blue and white stars are hotter than yellow and...
Read more >
The Best Color Temperature for Video Lighting
Warm light seems yellow or orange. Cool light appears white or blue. However, describing light just by color isn't helpful since color can...
Read more >
What Color Temperature Should I Use for Video Lighting?
Very orange-projecting lights, such as incandescent bulbs or firelight, will have a lower Kelvin rating, somewhere in the 3000 range and below. More...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found