mirror of
https://github.com/home-assistant/core.git
synced 2025-08-04 13:15:18 +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."""
|
"""Send play command."""
|
||||||
await self._bridge.player.resume()
|
await self._bridge.player.resume()
|
||||||
|
|
||||||
|
@exception_wrap
|
||||||
|
async def async_media_stop(self) -> None:
|
||||||
|
"""Send stop command."""
|
||||||
|
await self._bridge.player.stop()
|
||||||
|
|
||||||
@exception_wrap
|
@exception_wrap
|
||||||
async def async_media_next_track(self) -> None:
|
async def async_media_next_track(self) -> None:
|
||||||
"""Send next command."""
|
"""Send next command."""
|
||||||
|
Reference in New Issue
Block a user