ReneNulschDE / mbapipy

MercedesME platform as a Custom Component for Home Assistant.
MIT License
24 stars 11 forks source link

Error when having a car in production registered #9

Closed danielrheinbay closed 4 years ago

danielrheinbay commented 4 years ago

In their Mercedes me app, Mercedes-Benz offers Joyful Anticipation (aka Digitale Vorfreude). In short, this feature allows you to track the production of a newly ordered vehicle. If one or more cars in production are registered in my Mercedes me profile, mbapipy fails to initialize. This is because cars of type "ORDERED" do not have a VIN/FIN. apicontroller.py neither checks if a car is of the type "ORDERED" nor if it has a VIN/FIN.