leeyuentuen / polestar_api

Polestar Api - Home Assistant Component
MIT License
112 stars 18 forks source link

Odometer is Reporting Wrong - Unit Conversion Error? #64

Closed sembeeuk closed 6 months ago

sembeeuk commented 6 months ago

Just updated to 1.3.4 and the Odometer values are wrong.

sensor.polestar_XXX_current_odometer_meters

It is reporting my car has 37km.

image

Something gone wrong with the conversion changes made earlier?

leeyuentuen commented 6 months ago

will be fix soon

leeyuentuen commented 6 months ago

should fix here https://github.com/leeyuentuen/polestar_api/releases/tag/1.3.6 @sembeeuk can you confirm?

m0wlheld commented 6 months ago

Nope, not fixed.

grafik

The 'state' of the sensor seems to be correct, according to the name it's odometer in meters. But the unit of measurement is set to kilometers, so the display is wrong.

grafik

Real odometer value is 23,022 km

sembeeuk commented 6 months ago

I can confirm I am seeing the same thing - 37 million km.

leeyuentuen commented 6 months ago

should be fixed in this beta: https://github.com/leeyuentuen/polestar_api/releases/tag/1.3.7

sembeeuk commented 6 months ago

That seems to have resolved the issue.