Closed thriolsson closed 10 months ago
maybe take a look at the logs and see what log you can see
Traceback (most recent call last): File "/config/custom_components/polestar_api/config_flow.py", line 47, in _create_device await device.init() File "/config/custom_components/polestar_api/polestar_api.py", line 51, in init 'data': result['data']['getConsumerCarsV2'][0], 'timestamp': datetime.now()}
IndexError: list index out of range
i think duplicate error. https://github.com/leeyuentuen/polestar_api/issues/15
you don't have car in that account. can you check if you have the full access on that account?
When I log in using my phone number, it works. 😊 But using my e-mail does not work. (On the web page and in the app both works)
When using version <1.2.0 (with the VIN setup form field) - it was working fine. Updating to the latest version doesn't break the app, but a clean install of 1.2.0 - gives the error below.
When using version <1.2.0 (with the VIN setup form field) - it was working fine. Updating to the latest version doesn't break the app, but a clean install of 1.2.0 - gives the error below.
@Borales thanks for report, should be fix on next public code: https://github.com/leeyuentuen/polestar_api/releases/tag/1.2.1
@leeyuentuen checked 1.2.1 - that solved the problem for me, thanks!
i'll close this ticket, for issue, open a new one with logs for better follow up the problem.
I am trying to add this integration for the first time. I get the error 'Unexpected error adding the API' I can log in on Polestar web site and app using the same credentials.
How can I best troubleshoot this?