hcoohb / hass-yeelightbt

Home assistant custom component for Yeelight bluetooth
47 stars 15 forks source link

[Bug] Deprecated supported features values are used #64

Open felixfischer opened 5 months ago

felixfischer commented 5 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