Add media_stop for volumio integration (#37211)
This commit is contained in:
1 parent
10786bbe7f
commit
431045f036
1 file changed
+4
@@ -264,6 +264,10 @@ class Volumio(MediaPlayerEntity):
|
||||
else:
|
||||
await self.send_volumio_msg("commands", params={"cmd": "pause"})
|
||||
|
||||
async def async_media_stop(self):
|
||||
"""Send media_stop command to media player."""
|
||||
await self.send_volumio_msg("commands", params={"cmd": "stop"})
|
||||
|
||||
async def async_set_volume_level(self, volume):
|
||||
"""Send volume_up command to media player."""
|
||||
await self.send_volumio_msg(
|
||||
|
||||
Reference in new issue
Block a user