code: def mute(self, mute):
          
          try:
              if mute:
                  if self.send_get_command(self._urls.command_mute_on):
                      self._mute = STATE_ON
                      return True
                  else:
                      return False
              else:
                  if self.send_get_command(self._urls.command_mute_off):
                      self._mute = STATE_OFF
                      return True
                  else:
                      return False
          except requests.exceptions.RequestException:
              _LOGGER.error("Connection error: mute command not sent.")
              return False
docs: Mute receiver via HTTP get command.