Skip to content

Commit

Permalink
Merge pull request #1 from fwestenberg/fix-volume-mute-url
Browse files Browse the repository at this point in the history
Fix volume mute url
  • Loading branch information
fwestenberg authored Jan 12, 2023
2 parents 22f1462 + 39a7af4 commit b261912
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions devialet/devialet_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,11 +321,11 @@ async def async_mute_volume(self, mute: bool) -> None:
"""Mute (true) or unmute (false) media player."""
if mute:
await self.post_request(
"/ipcontrol/v1/systems/current/sources/current/soundControl/mute", {}
"/ipcontrol/v1/groups/current/sources/current/playback/mute", {}
)
else:
await self.post_request(
"/ipcontrol/v1/systems/current/sources/current/soundControl/unmute", {}
"/ipcontrol/v1/groups/current/sources/current/playback/unmute", {}
)

async def async_media_play(self) -> None:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
setup(
name='devialet',
packages=['devialet'],
version='1.0.0',
version='1.1.0',
license='MIT',
description='Devialet API',
author='fwestenberg',
Expand Down

0 comments on commit b261912

Please sign in to comment.