From 3b173ae3ba826590d6c4564f645ba0ea9551e05a Mon Sep 17 00:00:00 2001 From: 3ll3d00d Date: Sat, 19 Oct 2024 09:20:29 +0100 Subject: [PATCH] always send playpause becaues play doesn't always do anything --- custom_components/jriver/media_player.py | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/custom_components/jriver/media_player.py b/custom_components/jriver/media_player.py index 9043b98..4a702e6 100644 --- a/custom_components/jriver/media_player.py +++ b/custom_components/jriver/media_player.py @@ -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: diff --git a/pyproject.toml b/pyproject.toml index ce29dd0..c309765 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 "] license = "MIT"