Add support for stop command in LinkPlay (#126941)
Add support for stop command
This commit is contained in:
parent
8999e9f116
commit
4edc3872ce
1 changed files with 5 additions and 0 deletions
|
@ -234,6 +234,11 @@ class LinkPlayMediaPlayerEntity(MediaPlayerEntity):
|
|||
"""Send play command."""
|
||||
await self._bridge.player.resume()
|
||||
|
||||
@exception_wrap
|
||||
async def async_media_stop(self) -> None:
|
||||
"""Send stop command."""
|
||||
await self._bridge.player.stop()
|
||||
|
||||
@exception_wrap
|
||||
async def async_media_next_track(self) -> None:
|
||||
"""Send next command."""
|
||||
|
|
Loading…
Add table
Reference in a new issue