Auto sensor switiching