Skip to content

Commit

Permalink
always send playpause becaues play doesn't always do anything
Browse files Browse the repository at this point in the history
  • Loading branch information
3ll3d00d committed Oct 19, 2024
1 parent b35dcab commit 3b173ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion custom_components/jriver/media_player.py
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ async def async_media_play_pause(self) -> None:
@cmd
async def async_media_play(self) -> None:
"""Play media."""
await self._media_server.play(zone=self._target_zone)
await self._media_server.play_pause(zone=self._target_zone)

@cmd
async def async_media_pause(self) -> None:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "jriver_homeassistant"
version = "0.2.8"
version = "0.2.9"
description = "A custom Home Assistant integration for jriver"
authors = ["3ll3d00d <[email protected]>"]
license = "MIT"
Expand Down

0 comments on commit 3b173ae

Please sign in to comment.