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

fix(light): replace ATTR_COLOR_TEMP with ATTR_COLOR_TEMP_KELVIN #440

Merged
merged 2 commits into from
Jan 10, 2025

Conversation

wuwentao
Copy link
Owner

@wuwentao wuwentao commented Jan 6, 2025

PR Description

replace ATTR_COLOR_TEMP with ATTR_COLOR_TEMP_KELVIN
follow https://developers.home-assistant.io/blog/2024/12/14/kelvin-preferred-color-temperature-unit

Reason & Detail

HA deprecated constant ATTR_COLOR_TEMP

Related issue

fix #435

@wuwentao wuwentao added this to the 0.6.6 milestone Jan 7, 2025
@wuwentao wuwentao merged commit f7dfc4e into master Jan 10, 2025
10 checks passed
@wuwentao wuwentao deleted the fix_light_error branch January 10, 2025 03:32
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

Successfully merging this pull request may close these issues.

Bug(light): ATTR_COLOR_TEMP is a deprecated constant in light.py
3 participants