Giter VIP home page Giter VIP logo

Comments (7)

argoyle avatar argoyle commented on August 19, 2024 1

Thanks for finding and reporting. Hopefully the last time your utility meter did that. 😄

from ha-ferroamp.

argoyle avatar argoyle commented on August 19, 2024

Hmmm, that is strange. Will take a closer look tonight.

from ha-ferroamp.

argoyle avatar argoyle commented on August 19, 2024

I assume that you run at least Home Assistant 2021.9?

That last exception is using your own version, right? The line numbers do not correspond to the 1.4.0 version.

from ha-ferroamp.

u1malmberg avatar u1malmberg commented on August 19, 2024

Running core-2021.10.7
Might be from a later run where I tried to fix it... but it was pointing to that particular line... But ~10 lines off does not really make sense... I still have the original file (attached here) and the the row numbers does not really match there either with the commit for the #76 fix! :) Not sure how I can have messed this up, updated via HACS when it prompted me for an update. But then again if the sensor.py file was not updated the "always increasing" fix would not be there.
sensor copy.txt
.

from ha-ferroamp.

argoyle avatar argoyle commented on August 19, 2024

Hmmm, so the problem is actually in the if-statement where it checks that the new value is greater than the current value and your current value is not a value that is convertable to a float. I'll write a test for that and then add a fix for it.

from ha-ferroamp.

argoyle avatar argoyle commented on August 19, 2024

I have release v1.4.1 which should solve this. Please update and test @u1malmberg

from ha-ferroamp.

u1malmberg avatar u1malmberg commented on August 19, 2024

@argoyle looks like it is working, I do not get that same issue any more. Thanks!! 🙏
I did get my daily utility_meter measurement messed up...again! hopefully for the last time! :) Was getting tired of correcting the data in influx directly, so looking forward to having that fix in place!
image

from ha-ferroamp.

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.