bertbert72 / HomeAssistant_VirginTivo

HomeAssistant component for control of Virgin Media Tivo boxes
GNU General Public License v3.0
29 stars 22 forks source link

[master MediaPlayerEntityFeature constants] #116

Closed ResteNarquois closed 9 months ago

ResteNarquois commented 10 months ago

Updates code in media_player.py to use MediaPlayerEntityFeature enum over deprecated SUPPORT_* constants.

Reference:

https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation

https://developers.home-assistant.io/blog/2022/04/02/support-constants-deprecation

Closes #115

bertbert72 commented 9 months ago

Thanks for this