RepairPal Certified shops can diagnose and repair your 2006 BMW 330Ci. They provide transparent pricing with a minimum 12-month or 12,000-mile warranty on repairs and services.
Could be a limit switch or sensor. A good BMW scanner would help a lot with this.Use this link to find a good shop near you.
https://repairpal.com/repair-shops
Alex