tillsteinbach / WeConnect-python

Python API for the Volkswagen WeConnect Services
MIT License
109 stars 29 forks source link

Unknown attribute batterySupport with value enabled #67

Closed ColinRobbins closed 2 years ago

ColinRobbins commented 2 years ago

Describe the bug When running the example allVehicles.py I get an error message.

To Reproduce Run allVehicles.py

Expected behavior A clear and concise description of what you expected to happen.

Screenshots The example should run without error.

Logs

/vehicles/XXXXX/domains/batterySupport/batterySupportStatus: Unknown attribute batterySupport with value enabled

Additional context The error message causes issues with downstream use of the library, such as https://github.com/mitch-dc/volkswagen_we_connect_id

tillsteinbach commented 2 years ago

Hi @ColinRobbins: Sorry, I cannot reproduce this with my car. Do you have an ID with SW Version 2.4 or 3.0? Are these all messages you are getting?

ColinRobbins commented 2 years ago

Yes, they are the only messages I am seeing - everything else is OK. How do I tell which S/W version? I am guessing the latest as I’ve only taken delivery in the last few weeks. Happy to try and produce debugging info, if guided as to what you need.

tillsteinbach commented 2 years ago

I added the missing attribute. Could you give the example a new try using the main branch?

ColinRobbins commented 2 years ago

Yes, this works in my test environment. Thank you.

I doing so, I found a few dependancies missing, I'll make a PR shortly.

tillsteinbach commented 2 years ago

Perfect, I will make that part of the next release then. Regarding the dependencies I answered in the PR.

ColinRobbins commented 2 years ago

Hi. Did this make it into 0.45.1? I am still seeing the error in 0.45.1, but not when I use your main branch.

tillsteinbach commented 2 years ago

No, will be part of 0.45.2. My car is currently in the workshop for the 2.4 update. When I have it back I can prepare an update

tillsteinbach commented 2 years ago

This is released in 0.46.0