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

Deprecation warning #58

Closed
luisiam opened this issue Jan 10, 2024 · 3 comments
Closed

Deprecation warning #58

luisiam opened this issue Jan 10, 2024 · 3 comments

Comments

@luisiam
Copy link

luisiam commented Jan 10, 2024

I have a HW-Q990C, running HA 2024.1.2 with v1.0.2 of this integration. Start to get the following warning message in log

Entity media_player.hw_q990c (<class 'custom_components.smartthings_soundbar.media_player.SmartThingsSoundbarMediaPlayer'>) 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|TURN_ON|TURN_OFF|VOLUME_STEP|SELECT_SOURCE|PLAY: 19853>, please create a bug report at https://github.com/PiotrMachowski/Home-Assistant-custom-components-SmartThings-Soundbar/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation
@bernardesarthur
Copy link

Hi, I have a this same issue with Home Assistant Core 2024.03.

Registrador: homeassistant.helpers.entity
Fonte: helpers/entity.py:1597
Ocorreu pela primeira vez: 10:04:12 (1 ocorrências)
Último registro: 10:04:12

Entity media_player.home_theater (<class 'custom_components.smartthings_soundbar.media_player.SmartThingsSoundbarMediaPlayer'>) 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|TURN_ON|TURN_OFF|VOLUME_STEP|SELECT_SOURCE|PLAY: 19853>, please create a bug report at https://github.com/PiotrMachowski/Home-Assistant-custom-components-SmartThings-Soundbar/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation

Anyone can fix this?

@PiotrMachowski
Copy link
Owner

This doesn't cause any problem now, so it is not my priority. I might try to merge this integration to HA itself instead

@PiotrMachowski
Copy link
Owner

Fixed in v1.0.3

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

3 participants