tesla-api icon indicating copy to clipboard operation
tesla-api copied to clipboard

display_name is no longer part of vehicle_data response

Open clearwave1 opened this issue 1 year ago • 2 comments

I wrote my own app for my Tizen watch a few years ago and it has been working fine for my purposes.

I noticed recently that my vehicle display name was showing undefined so I did some debugging and noticed that Tesla no longer includes this field in the vehicle_data call.

It is included in the vehicles/[vehicle_id] call so I changed my code and all is fine now.

I thought you might want to update the docs or correct me if I'm missing something.

clearwave1 avatar Jun 07 '23 16:06 clearwave1

I was about to post the same. Indeed, I it's no longer there. The 'joy' of undocumented API lol

It's in vehicle_name under vehicle_state subsection of the vehicle_data response.

SylvainGa avatar Jun 07 '23 17:06 SylvainGa

Thanks for the heads up :)

itsMeDavidV avatar Jun 07 '23 22:06 itsMeDavidV