-
Notifications
You must be signed in to change notification settings - Fork 32
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
Wrong formatting in has_connected_services_enabled() #26
Labels
Comments
Can you please provide logs also, so I can understand what the error message is? Edit: |
Logs:
Nvm you were right, it is actually caused by the old car, just tested it, it confirms the new corolla, then hangs at the old RAV4. |
Thanks for checking! I will add some code to make sure you can only add supported cars. 😁 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Server returned data is different than expected causing a crash.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
It should work but it don't
** Possible Fix **
I had to modify the vehicle.py - has_connected_services_enabled() fully knowing that a general try-catch is the bodgiest of bodges to be like so:
Apart from the big try-catch notice the json_dict lookup change.
Probably needs testing to see if this happens in more countries or it's just a nieche for Slovakia.
Unsure if there could be ["devices"][1] or more? I don't have the touch2go nav, did not registrer my head unit nor do I have a hybrid.
The text was updated successfully, but these errors were encountered: