mirror of
https://github.com/home-assistant/core.git
synced 2025-08-04 05:05:09 +02:00
Add support for stop command in LinkPlay (#126941)
Add support for stop command
This commit is contained in:
@@ -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."""
|
||||
|
Reference in New Issue
Block a user