Vehicle images might not be accurate
Right now, the car shown is always, well, mine. 😁
It should be possible to build the compositor URLs from the VehicleData and display the car indicated, but that's going to take some work. Some kind souls have already contributed some pointers in the right direction, but this is a big chunk of work for a relatively minor result.
4ee9797 uses the API to generate compositor URLs that reflect the settings in the API, at least so far as vehicle model, exterior color, and wheels are concerned. However, it's entirely possible this conversion is incomplete. I think it should produce a reasonable image in most/all cases.
If you notice that your vehicle image is broken, please provide the following:
- The correct URL for your vehicle image, e.g. from your account page on Tesla.com
- The values returned from the Tesla API (
https://owner-api.teslamotors.com/api/1/vehicles/<vehicle id>/data_request/vehicle_config)