Closed mgustavss closed 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.
@Limych tested the PR on my setup, the warnings are gone and the speaker continues to work. please merge it. Thanks in advance.
This repository is deprecated.
Please, use version of this component from here: https://github.com/nagyrobi/home-assistant-custom-components-linkplay
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.