original_docstring: Set the volume of the media player.
docstring: Set the volume of the media player.
docstring_tokens: Set the volume of the media player .
code: def _set_volume(self, volume: int) -> None:
          """Set the volume of the media player."""
          # Can't set a new volume level when this zone is muted.
          # Follow behavior of keypads, where zone is unmuted when volume changes.
          if self._status.mute:
              self._ws66i.set_mute(self._zone_id, False)
              self._status.mute = False
  
          self._ws66i.set_volume(self._zone_id, volume)
          self._status.volume = volume
code_tokens: def _set_volume ( self , volume : int ) -> None : if self . _status . mute : self . _ws66i . set_mute ( self . _zone_id , False ) self . _status . mute = False self . _ws66i . set_volume ( self . _zone_id , volume ) self . _status . volume = volume
short_docstring: Set the volume of the media player.
short_docstring_tokens: Set the volume of the media player .
comment: """Set the volume of the media player."""$SEP$# Can't set a new volume level when this zone is muted.$SEP$# Follow behavior of keypads, where zone is unmuted when volume changes.