Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Supply 'endpoints' parameter to vehicle_data endpoint #435

Merged
merged 1 commit into from
Nov 11, 2023

Conversation

dagstuan
Copy link
Contributor

After upgrading to 2023.38.* the Tesla API requires specifying the query parameter endpoints when asking for location data from the vehicle. Supply this parameter along with other parameters needed to fetch the vehicle data.

I didn't really test this properly except via the home assistant plugin, so more testing may be needed.

This change corresponds to the changes in teslamate and TeslaPy:
tdorssers/TeslaPy@38ff7da
teslamate-org/teslamate@5058a6f

API Documentation:
https://developer.tesla.com/docs/fleet-api#vehicle_data

Fixes #434

After upgrading to 2023.38.* the Tesla API requires specifying the
query parameter `endpoints` when asking for location data from the
vehicle. Supply this parameter along with other parameters needed to
fetch the vehicle data.
@dagstuan dagstuan changed the title Supply 'endpoints' parameter to vehicle_data fix: Supply 'endpoints' parameter to vehicle_data Nov 11, 2023
@dagstuan dagstuan changed the title fix: Supply 'endpoints' parameter to vehicle_data fix: Supply 'endpoints' parameter to vehicle_data request Nov 11, 2023
@dagstuan dagstuan changed the title fix: Supply 'endpoints' parameter to vehicle_data request fix: Supply 'endpoints' parameter to vehicle_data endpoint Nov 11, 2023
@alandtse alandtse merged commit 0fb4ef0 into zabuldon:dev Nov 11, 2023
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tesla location API updated since 2023.38.6
2 participants