Limych / media_player.linkplay

Deprecated. Please, use https://github.com/nagyrobi/home-assistant-custom-components-linkplay
MIT License
31 stars 58 forks source link

Rename base class to MediaPlayerDevice #25

Closed mgustavss closed 4 years ago

mgustavss commented 4 years ago

The class MediaPlayerEntity has been renamed to MediaPlayerDevice in Home Assistant 0.110, see https://developers.home-assistant.io/blog/2020/05/14/entity-class-names.

This PR renames the class and ensures we don't break things for those still on older Home Assistant versions. Fixes issue #21.

mgustavss commented 4 years ago

Hey @Limych , could you please take a look and approve? It's a tiny change that removes a warning and ensures that the component will continue working with future Home Assistant versions.

Nokius commented 4 years ago

@Limych tested the PR on my setup, the warnings are gone and the speaker continues to work. please merge it. Thanks in advance.

Limych commented 4 years ago

This repository is deprecated.

Please, use version of this component from here: https://github.com/nagyrobi/home-assistant-custom-components-linkplay