Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kelvin and turn_on warning in automation #23801

Open
3 of 4 tasks
antamy opened this issue Jan 19, 2025 · 0 comments
Open
3 of 4 tasks

kelvin and turn_on warning in automation #23801

antamy opened this issue Jan 19, 2025 · 0 comments

Comments

@antamy
Copy link

antamy commented Jan 19, 2025

Checklist

  • I have updated to the latest available Home Assistant version.
  • I have cleared the cache of my browser.
  • I have tried a different browser to see if it is related to my browser.
  • I have tried reproducing the issue in safe mode to rule out problems with unsupported custom resources.

Describe the issue you are experiencing

In my logs that I am getting the warning

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

This is from an automation that turns on lights with a color temperature set with the slider in the UI.

Describe the behavior you expected

No error messages from an automation created through the UI.

If I go into the YAML for the automation I see, for example:

actions:
  - metadata: {}
    data:
      kelvin: 2200
      brightness_pct: 70

Steps to reproduce the issue

Configure an automation to turn on a light and set the color temperature in the UI. Using this automation creates the warning message.

If the generated YAML is changed, for example:

actions:
  - metadata: {}
    data:
      color_temp_kelvin: 2200
      brightness_pct: 70

then the automation works without throwing a warning, but the automation UI for "Then Do > Light Turn on" breaks (no sliders etc to set the color temperature)

What version of Home Assistant Core has the issue?

2025.1.2

What was the last working version of Home Assistant Core?

No response

In which browser are you experiencing the issue?

No response

Which operating system are you using to run this browser?

No response

State of relevant entities

Problem-relevant frontend configuration

Javascript errors shown in your browser console/inspector

Additional information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant