roberodin / ha-samsungtv-custom

📺 HomeAssistant - SamsungTV Custom Component
Apache License 2.0
122 stars 177 forks source link

HA 1.110.x BETA shows deprecation warning. #44

Closed dreimer1986 closed 4 years ago

dreimer1986 commented 4 years ago
[homeassistant.components.media_player] MediaPlayerDevice is deprecated, modify AlexaClient to extend MediaPlayerEntity

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

Sjeff commented 4 years ago

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 !

dreimer1986 commented 4 years ago

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

a-r-j-a-n commented 4 years ago

Fixed in #46

Released in 3.0.4