Automatic Permanent Press Cycle fails to shut off

Dryer runs continously on automatic permanent press cycle, does not shut off when the clothes are dry. It does shut off on timed cycle though.

It does stop if you move the knob to the off position manually. I don’t know if the knob advances on the automatic cycle.