Your attorney entered the not guilty plea on your behalf. A pre trial court date is not sentencing. Sentencing occurs after you plead guilty or no contest.
Seth Weinstein, Esq.
Practicing throughout Southern California
This reply should NOT be considered a legal opinion of your case / inquiry. At this time I do not have sufficient factual/legal documentation to give a complete answer to your question and there may be more to the issues you raised then I have set out in my brief reply.
That's a good question. I think you have misunderstood what was said in court.
First of all, you clearly entered a "not guilty" plea at your arraignment (first appearance before the court when you were informed of your charges).
The entry of a "guilty" plea is a fairly formal proceeding where the court advises you of a bunch of rights you're giving up by entering the plea and asking you directly if you want to plead guilty. You would know if you've pleaded guilty. The court can't take a guilty plea from you unless you personally assent to it.
I am guessing that the judge misspoke.
Contact your attorney immediately. You obviously are confused about the status of your case. If your case is set for sentencing, you have pled to a charge. If you don't think that is the case, you need to determine status immediately.