roberodin/ha-samsungtv-custom

HA 1.110.x BETA shows deprecation warning.

Closed this issue · 3 comments

[homeassistant.components.media_player] MediaPlayerDevice is deprecated, modify AlexaClient to extend MediaPlayerEntity

Fix is easy. As the Pull request states home-assistant/core#34592 a simple rename is enough to fix it. Tested and proven right.

Sjeff commented

I receive the following warnings :

WARNING (MainThread) [homeassistant.components.media_player] MediaPlayerDevice is deprecated, modify SamsungTVDevice to extend MediaPlayerEntity
WARNING (MainThread) [homeassistant.components.media_player] MediaPlayerDevice is deprecated, modify SamsungTVDeviceQLED to extend MediaPlayerEntity
WARNING (MainThread) [homeassistant.components.media_player] MediaPlayerDevice is deprecated, modify SamsungTVDeviceWS to extend MediaPlayerEntity

Would be great if this can be fixed !

Yeah, sry copy paste error. That one was meant for another addin ^^ I meant the ones you pasted too

Fixed in #46

Released in 3.0.4