Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

null value returned when connection fails #21

Open
lymanbuttler opened this issue May 13, 2021 · 1 comment
Open

null value returned when connection fails #21

lymanbuttler opened this issue May 13, 2021 · 1 comment

Comments

@lymanbuttler
Copy link

Hi, I'm using the Home Assistant plugin to keep track of the battery level on my Chevy Bolt. I understand the limitations of the API and I know it will fail to connect after the car has been shut off for more than a few hours. However, I would expect the values for battery, odometer, etc. to default to their last known good value. Instead they return some non-numeric value that causes Home Assistant to display an error. Thanks!

image

image

@sdague
Copy link
Owner

sdague commented Jul 6, 2021

All the state tracking is at the home assistant level, there isn't any with the library. So if you don't restart home assistant it should have the state there.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants