hass-aarlo
hass-aarlo copied to clipboard
ATTR_COLOR_TEMP deprecated
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
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.
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.