Giter Site home page Giter Site logo

Comments (4)

jnxxx avatar jnxxx commented on August 25, 2024 1

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).

  1. 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.

  2. 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.

  3. 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.

mm98 avatar mm98 commented on August 25, 2024

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.

mm98 avatar mm98 commented on August 25, 2024

Hi. The changes in the main branch removed the errors. So I guess this can be closed?

from homeassistant-connectedcars_io.

jnxxx avatar jnxxx commented on August 25, 2024

Yes, let's close it.

Fixes have now been released in v1.1.2.

from homeassistant-connectedcars_io.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.