Min_color_temp_kelvin and max_color_temp_kelvin setting

It there a way to globally set min_color_temp_kelvin and max_color_temp_kelvin?
Right now my every lamp has a different setting like

min_color_temp_kelvin: 1700
max_color_temp_kelvin: 20000
min_color_temp_kelvin: 1538
max_color_temp_kelvin: 7142
min_color_temp_kelvin: 2500
max_color_temp_kelvin: 20000
min_color_temp_kelvin: 2702
max_color_temp_kelvin: 6535

and when combined in groups, group has the lowest for min and highest for max value.
It also completly breaks the color scale


where 5K should be rather right there in the middle.
I’d like to set it to

min_color_temp_kelvin: 2500
max_color_temp_kelvin: 5500

which would nicely fit into the temperature gradient.
It’s one of those WTH moments but I’d reather really not wait a year :wink:

ok, it is possible like this

homeassistant:
  customize_domain:
    light:
      min_color_temp_kelvin: 2500
      max_color_temp_kelvin: 6500


Enjoy!

Hello @luka6000 , thanks for the answer.
Do you know, if (and how) I can do that for a single light?
My mii desk pro lamp has:
max_color_temp_kelvin: 20000

But it actually has only a value of 4800 as maximum.
I did not find a solution yet with google.
Thanks

sure, do it with customize
https://www.home-assistant.io/docs/configuration/customizing-devices/#manual-customization
But I’d say go for the global customize domain to have the gradient shown correctly and everywhere the same.

Wow. Thank you very much.
I was looking for that.
That helped me.
Thanks

is this working also for light groups or only global for ALL lights?

depends on what you’ll customize. If you’ll set it for ‘light’ domain then you’ll have it customized for all lights independently. But light groups (old seen as ‘group.’ and new helpers seen as ‘light.’) will inherit their settings from member lights so you still get min and max for the group the same as for individual lights.

thanks, will try with the light.(group)

Adding the min max values to the light.(group) does not work correctly. The Group is not adapting the Kelvin values to the mired values are not calculated. If I use the customize_domain: key for all lights it works as expected.

smells like a bug