hcoohb / hass-yeelightbt

Home assistant custom component for Yeelight bluetooth
50 stars 16 forks source link

[Bug] Deprecated supported features values are used #64

Closed felixfischer closed 1 week ago

felixfischer commented 9 months ago

Light

Yeelight Bedside

Yeelight Bt version

v1.4.0

Home-assistant installation type

Home Assistant Operating System (HAOS)

Home-assistant version

2024.1.6

Home-assistant bluetooth integration (2022.8+)

Yes

Describe the issue

Hey there! :wave:

I am reporting that there is a new deprecation warning in the logs:

Entity light.nachttischlampe (<class 'custom_components.yeelight_bt.light.YeelightBT'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <LightEntityFeature: 19> and color modes, please create a bug report at https://github.com/hcoohb/hass-yeelightbt/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation

Thank you for your attention, and thank you very much for maintaining this project! :heart:

Cheers, Felix

Debugging procedure followed:

Any additional comments

No response

Logs from the issue

No response