robinostlund / homeassistant-volkswagencarnet

Volkswagen Carnet Component for home assistant
GNU General Public License v3.0
303 stars 61 forks source link

[BUG] Last trip efficiency is coming through with the wrong units #639

Closed sparks1372 closed 2 weeks ago

sparks1372 commented 2 weeks ago

Before you post a new issue - you must first check the following (and check the boxes with an "X" below)

Environment

Describe the bug

Sensor "Last trip average electric engine consumption" is coming through with the unit kWh/100mi but the value is the same as shown on the app and in the car as mi/kWh. I have tried the different conversion settings but that doesn't help.

Steps to Reproduce

Nothing special, just how the entities are set up

Expected behavior

N/A

Screenshots

This should be 5.3 mi/kWh image

Traceback/Error logs

N/A

Debug information - all JSON responses from logfile

N/A

Additional context

N/A

Note

Issues lacking sufficient details or context may be subject to closure without prior notice. Detailed bug reports are essential for effective issue resolution. Thank you for your cooperation.

stickpin commented 2 weeks ago

yes... some conversion settings are still broken. seems like not many people are using it. you are the first one reporting about it since December. I will try to find some time to check if there is some easy fix for it.

sparks1372 commented 2 weeks ago

Thanks - have just added the correct units to the labels in my dashboards for now but if there is a fix that would be great.

stickpin commented 2 weeks ago

@sparks1372 I've checked the official app and app is showing kWh/100 km. IMG_8979

Can you please share the screenshot of how you see it in your app?

sparks1372 commented 2 weeks ago

IMG_0083

stickpin commented 2 weeks ago

@sparks1372 try v5.0.2

sparks1372 commented 2 weeks ago

It is now working :) thank you