mirror of
https://github.com/home-assistant/core.git
synced 2025-07-20 19:57:07 +00:00
Add support for stop command in LinkPlay (#126941)
Add support for stop command
This commit is contained in:
parent
8999e9f116
commit
4edc3872ce
@ -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…
x
Reference in New Issue
Block a user