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

Supported features values deprecation #7

Open
tcnuk opened this issue Jan 29, 2024 · 0 comments · May be fixed by #8
Open

Supported features values deprecation #7

tcnuk opened this issue Jan 29, 2024 · 0 comments · May be fixed by #8

Comments

@tcnuk
Copy link

tcnuk commented Jan 29, 2024

The extension appears to be using some deprecated Home Assistant features and needs updating before Home Assistant Core 2025.1, where they will be removed. On start-up of Home Assistant with this extension integrated, I get the following log message:

2024-01-29 16:27:53.393 WARNING (MainThread) [homeassistant.helpers.entity] Entity media_player.cxa (<class 'custom_components.cambridge_cxa.media_player.CambridgeCXADevice'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <MediaPlayerEntityFeature.VOLUME_MUTE|TURN_ON|TURN_OFF|SELECT_SOURCE|SELECT_SOUND_MODE: 67976>, please create a bug report at https://github.com/lievencoghe/cambridge_cxa/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation

If nobody else fancies picking this up, I might be able to take a look at some point.

@tcnuk tcnuk linked a pull request Apr 20, 2024 that will close this issue
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 a pull request may close this issue.

1 participant