"please use `color_temp_kelvin` argument" - Advice needed

Hi Guys,

I got some free time and am currently trying to declutter my logs and do some maintenance and fix some things long term.

I could not find a Topic for this or something similiar so Im creating this as my “last hope”…

I am receiving following Warning:

Logger: homeassistant.components.light
Source: components/light/__init__.py:321
integration: Light ([documentation](https://www.home-assistant.io/integrations/light), [issues](https://github.com/home-assistant/core/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+light%22))
First occurred: June 18, 2025 at 10:54:31 PM (2 occurrences)
Last logged: June 19, 2025 at 10:28:01 PM

Got `color_temp` argument in `turn_on` service, which is deprecated and will break in Home Assistant 2026.1, please use `color_temp_kelvin` argument

I totally understand the warning so I dont need an explanation but to be honest it would help me to get at least the invoked entity or at least the automation/script that invokes this.

How are you guys debugging this?
Because last time I tried (unsuccessful) to fix it, I just went through my automations but couldnt find the culprit. Whats the best practice for this?

Am I missing something out or do I really need to manually view everything again?

Thanks in advance

Check the logbook to see what turned on your light at those timestamps. If it’s an automation, you will see something like light turned on triggered by automation xxx

Oh this is a good hint! Didnt think about that honestly. Will check….thx

1 Like

Did you found what is causing this?

Yeah. I have created a (ZHA) Group and it is causing the issues. Since im super slowly migrating to z2m the “issue” will be fixed in the near future just by replacing it with something else…
Another reason more to switch the lights to z2m asap… :slight_smile: