Hyundai-Kia-Connect / kia_uvo

A Home Assistant HACS integration that supports Kia Connect(Uvo) and Hyundai Bluelink. The integration supports the EU, Canada and the USA.
MIT License
390 stars 80 forks source link

Odometer is in unknown state after data update #865

Open Speederer opened 2 months ago

Speederer commented 2 months ago

Region and Brand of car IONIQ 5 EU

Version of the integration 2.24.2

Describe the bug Odometer turns to unknown state after some data update for ~30 minutes. I think it happens when the car parked, not in used. Other sensors work fine.

Expected behavior Also the odometer sensor gets the real updated value, or at least shows the previous one.

Screenshots 2024-04-14 22_09_25-Home Assistant - Mushroom – Home Assistant 2024-04-14 22_16_29-Home Assistant - History – Home Assistant

Speederer commented 2 months ago

I have a leased car with limited km range for 5 years. I wanted to use this odometer entity to compare my traveled kilometers with the number of kilometers that can be covered in proportion to the time. By default I got such diagrams: 2024-04-20 21_39_04-Home Assistant - History – Home Assistant As you can see it's not the best. But after I created a helper entity for odometer where there is no "unknown" value, it looks fine.

So I already have a workaround for this problem, but I still don't understand why only the odometer has this issue, the other sensors work fine.

johny-mnemonic commented 2 months ago

Yeah, odometer behaves weird for me as well on Kona 2020. Even though all other sensors have a value or gets an update, odometer often doesn't and manual call for data refresh is needed.