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

custom_component using deprecated features (as per 2025.01) #30

Closed
KomtGoed opened this issue Apr 11, 2024 · 2 comments
Closed

custom_component using deprecated features (as per 2025.01) #30

KomtGoed opened this issue Apr 11, 2024 · 2 comments

Comments

@KomtGoed
Copy link

Hi,

Was checking my HA logs and noted the following message:

Entity None (<class 'custom_components.hifiberry.media_player.HifiberryMediaPlayer'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <MediaPlayerEntityFeature.PAUSE|VOLUME_SET|VOLUME_MUTE|PREVIOUS_TRACK|NEXT_TRACK|TURN_OFF|VOLUME_STEP|STOP|PLAY: 21821>, please report it to the author of the 'hifiberry' custom integration and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation

Is this something easy to fix?

@willholdoway
Copy link
Owner

done

@KomtGoed
Copy link
Author

That was quick, thanks a lot! Just downloaded and can confirm that message has disappeared.

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

No branches or pull requests

2 participants