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

Not all cars have heated steering wheels and seats #308

Merged
merged 1 commit into from
Apr 24, 2022

Conversation

Megabytemb
Copy link
Contributor

When a car doesn't have a heated steering wheel, teslajsonpy would throw an index error.

simply updating this to a get so it returns None, which is a valid response.

I've also updated heated seats, which used the same code.

Resolves
alandtse/tesla#199

@alandtse
Copy link
Collaborator

Great thanks!

@alandtse alandtse merged commit b5cf9bb into zabuldon:dev Apr 24, 2022
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.

2 participants