media_player.template
media_player.template copied to clipboard
Receiving message in HA log that media_player.template is using depreciating features that will be unavailable in 2025
The message in my log file is:
(MainThread) [homeassistant.helpers.entity] Entity media_player.now_playing (<class 'custom_components.media_player_template.media_player.MediaPlayerTemplate'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <MediaPlayerEntityFeature.TURN_ON|TURN_OFF|VOLUME_STEP|SELECT_SOURCE|SELECT_SOUND_MODE: 68992>, please create a bug report at https://github.com/Sennevds/media_player.template/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation
I love this template and is making my life so much easier. Is this on anyone's radar to be fixed?
Hi. Touching base on this issue again. I have been seeing it for a while and haven't seen any comments or updates
Is anyone maintaining this code any longer?
Thanks!
Hi, chiming here too.
Am getting these warning messages post upgrade to 2024.3.0
Logger: homeassistant.helpers.entity
Source: helpers/entity.py:1597
First occurred: 8:42:57 PM (2 occurrences)
Last logged: 8:43:04 PM
Entity media_player.tdai_1120 (<class 'custom_components.media_player_template.media_player.MediaPlayerTemplate'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <MediaPlayerEntityFeature.VOLUME_SET|VOLUME_MUTE|TURN_ON|TURN_OFF|VOLUME_STEP|SELECT_SOURCE|SELECT_SOUND_MODE: 69004>, please create a bug report at https://github.com/Sennevds/media_player.template/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation