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 color mode deprecation warning #67

Merged
merged 1 commit into from
Oct 7, 2024

Conversation

agramner
Copy link
Contributor

@agramner agramner commented Oct 6, 2024

Warnings in home assistant log:

WARNING (MainThread) [homeassistant.components.light] None (<class 'custom_components.plejd.light.PlejdLight'>) does not set supported color modes, this will stop working in Home Assistant Core 2025.3, please report it to the author of the 'plejd' custom integration
WARNING (MainThread) [homeassistant.components.light] Entity None (<class 'custom_components.plejd.light.PlejdLight'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <LightEntityFeature: 1> and color modes, please report it to the author of the 'plejd' custom integration and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation

fixes #66

Warnings in home assistant log:
WARNING (MainThread) [homeassistant.components.light] None (<class 'custom_components.plejd.light.PlejdLight'>) does not set supported color modes, this will stop working in Home Assistant Core 2025.3, please report it to the author of the 'plejd' custom integration
WARNING (MainThread) [homeassistant.components.light] Entity None (<class 'custom_components.plejd.light.PlejdLight'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <LightEntityFeature: 1> and color modes, please report it to the author of the 'plejd' custom integration and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation
@agramner agramner mentioned this pull request Oct 6, 2024
@klali klali merged commit 2bf62af into klali:master Oct 7, 2024
1 check passed
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.

Warnings in Homeassistant
2 participants