skodaconnect / myskoda

Python library for interacting with MySkoda APIs.
MIT License
9 stars 22 forks source link

Add fields from citigoe iv trip statistics #112

Closed WebSpider closed 3 weeks ago

WebSpider commented 1 month ago

Created after feedback from @equareo in skodaconnect/homeassistant-myskoda#104. Thanks! Fixes skodaconnect/homeassistant-myskoda#104

WebSpider commented 1 month ago

I'm having some trouble understanding why tests fail. @Prior99 can you tell me how to fix them?

Prior99 commented 1 month ago

Will have a look

dvx76 commented 1 month ago

I'm having some trouble understanding why tests fail. @Prior99 can you tell me how to fix them?

I haven't looked much yet at the new tests but in this case they fail because the new trip stat fields like average_electric_consumption are not expected in the test results, e.g. in https://github.com/skodaconnect/myskoda/blob/main/fixtures/octaviacombi.yaml#L504

WebSpider commented 3 weeks ago

Finally figured it out :partying_face: