leeyuentuen / polestar_api

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

Odometer value is filtered out even though it seems correct #99

Closed olalid closed 5 months ago

olalid commented 5 months ago

My odometer sensor does not work anymore (it used to work in earlier versions but I am now using 1.6.1). I get following message in the log: WARNING (MainThread) [custom_components.polestar_api.sensor] current_odometer: Value 105860104 is higher than max value 100000000 But the value seems to be correct, 105860104 seems to be in meters ('odometerMeters': 105860104), and the odometer of my car shows 105860 km currently, i.e. that value divided by 1000.

leeyuentuen commented 5 months ago

i'll put the max limit higher, but i need to check that we won't spike issue came from here: https://github.com/leeyuentuen/polestar_api/issues/74

leeyuentuen commented 5 months ago

can you take a look at this beta version? https://github.com/leeyuentuen/polestar_api/releases/tag/1.6.2

olalid commented 5 months ago

Yes, works for me. Thanks.

leeyuentuen commented 5 months ago

released 1.6.3