Comments (4)
I do not get these two errors myself, but I can see how it can lead to such loggings if the read values are null.
I have now added some more error handling. Try the version in the main branch (not in a release yet).
-
Mileage since refuel: It now checks for odometer_current being null / None, and if so does not do the calculation. Instead the sensor should show as unavailable, until the odometer reports a value again.
-
Location: It only updates location when ignition is on, or last ignition timestamp has changed. This is to avoid triggering automations due to GPS inaccuracy.
If the ignition timestamp is not reported or is invalid, it will now just update the location even when ignition is off. -
From #15 the rounding is now done by Home Assistant.
Mine has started to report a value again, but if it ever reports null again, HA should just show it as unavailable.
from homeassistant-connectedcars_io.
Try the version in the main branch (not in a release yet).
Thanks! I'll give it a try and report back with any findings.
from homeassistant-connectedcars_io.
Hi. The changes in the main branch removed the errors. So I guess this can be closed?
from homeassistant-connectedcars_io.
Yes, let's close it.
Fixes have now been released in v1.1.2.
from homeassistant-connectedcars_io.
Related Issues (20)
- Name space for Cupra HOT 5
- Not showing up in HACS HOT 2
- Car does not show up as device HOT 4
- not working HOT 2
- Location not updated after short trips HOT 3
- `audi_a5_mileage_since_refuel` unavailable HOT 1
- `Economy` in prerelease v1.1.0 HOT 4
- Update for `sensor.audi_a5_mileage_latest_month` fails (prerelease v1.1.0) HOT 4
- Health = Problem HOT 13
- Intallation fails HOT 2
- CC HOT 4
- Ingen bil? HOT 5
- Failing on `fuel_economy` HOT 2
- Opdateringshastighed af geolocation HOT 3
- Failed to add custom repository HOT 1
- Fuel percentage HOT 2
- Handling request
- Recent data? HOT 2
- Detected that custom integration 'connectedcars_io' calls async_forward_entry_setup for integration HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homeassistant-connectedcars_io.