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

ATTR_COLOR_TEMP deprecated #1026

Open
capsel22 opened this issue Jan 6, 2025 · 2 comments
Open

ATTR_COLOR_TEMP deprecated #1026

capsel22 opened this issue Jan 6, 2025 · 2 comments
Assignees

Comments

@capsel22
Copy link

capsel22 commented Jan 6, 2025

Hi,

I saw this today pop up in the logs. Not sure if it was flagged yet.

HA version 2025.1.0

Logger: homeassistant.components.light
Source: helpers/deprecation.py:222
integration: Light (documentation, issues)
First occurred: 18:33:16 (2 occurrences)
Last logged: 18:33:16

ATTR_COLOR_TEMP was used from aarlo, this is a deprecated constant which will be removed in HA Core 2026.1. Use kelvin equivalent (ATTR_COLOR_TEMP_KELVIN) instead, please report it to the author of the 'aarlo' custom integration

@gamedevdude
Copy link

If you don't want to wait for the author to fix this, just edit /custom_components/aarlo/light.py. In the section at the top import, change ATTR_COLOR_TEMP to ATTR_COLOR_TEMP_KELVIN.

@twrecked twrecked self-assigned this Feb 25, 2025
@twrecked
Copy link
Owner

It's going to be deprecated in 2026. I'll change it in a month or two.

I changed something really quickly the other week and broke older installs for some people so I'm a little reticent to dive in and change things immediately.

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

No branches or pull requests

3 participants