CJNE / ha-porscheconnect

Porsche Connect custom component for Home Assistant
MIT License
29 stars 12 forks source link

New_api exception: 'Client'object has no attribute 'isTokenRefreshed' #248

Open Ayuus opened 1 week ago

Ayuus commented 1 week ago

After installing the 'new_api' branch (which I could not have done without this post and this post, as for some reason, library pyporscheconnectapi was not correct version), I installed the integration. Starting the integration fails with error message: 'Client'object has no attribute 'isTokenRefreshed' After commenting out line 209 (if IsTokenRefreshed():) in file init.py, the integration loaded and I was able to see my car's data.

devdems commented 7 hours ago

Tnx @Ayuus. I can confirm that this is also working for me.