leeyuentuen / polestar_api

Polestar Api - Home Assistant Component
MIT License
131 stars 23 forks source link

vin, registration_number and model_name become Unknown #41

Closed jyrkih closed 9 months ago

jyrkih commented 9 months ago

those three fields are whitelisted in get_skip_cache(), thus excluding cache. However, there doesn't seem to be any refresh functionality either, thus becoming None pretty soon after init

leeyuentuen commented 9 months ago

the previous beta branch has incorrect logic, so that the reason why the get_skip_cache didn't work.

it was initially to use them to load once and not fetch them again

Ottmar0815 commented 9 months ago

it was initially to use them to load once and not fetch them again

Thats okay, but the data should remain.

leeyuentuen commented 9 months ago

@Ottmar0815 @jyrkih does this still happen in the latest beta 1.2.9

jyrkih commented 9 months ago

no, not anymore!