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

[Bug] Deprecated supported features values are used #64

Open
9 tasks
felixfischer opened this issue Feb 9, 2024 · 0 comments
Open
9 tasks

[Bug] Deprecated supported features values are used #64

felixfischer opened this issue Feb 9, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@felixfischer
Copy link

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! 👋

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! ❤️

Cheers,
Felix

Debugging procedure followed:

  • 1- Ensure smartphone will not connect with lamp
  • 2- The Yeelight_bt integration has been removed from HA.
  • 3- HA has access to the bluetooth adapter (followed the installation steps if not on HAOS).
  • 4- No other bluetooth integration are using something else than bleak library for bluetooth. If unsure, disable them.
  • 5- The logging has been changed in HA to allow debugging of this component and bleak.
  • 6- The light has been fully reset so that it is not paired with any device.
  • 7- Restart HA
  • 8- Reinstall the yeelight_bt integration and find the light through a scan.
  • 9- Pairing the lamp succeeded

Any additional comments

No response

Logs from the issue

No response

@felixfischer felixfischer added the bug Something isn't working label Feb 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant