Skip to content

Commit

Permalink
Fix playback control
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdwetering committed Apr 6, 2024
1 parent 7c419d5 commit 9bc8698
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ynca/subunits/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def mem(self, parameter: int | None = None):
class PlaybackFunctionMixin:
def playback(self, parameter: Playback):
"""Change playback state"""
self._put("PLAYBACK", parameter) # type: ignore
self._put("PLAYBACK", parameter.value) # type: ignore


class PlaybackInfoFunctionMixin:
Expand Down

0 comments on commit 9bc8698

Please sign in to comment.