Giter Site home page Giter Site logo

Comments (4)

jcgoette avatar jcgoette commented on August 22, 2024

What error in the log? Might be coming straight from BB itself.

from baby_buddy_homeassistant.

Quotenjunkie avatar Quotenjunkie commented on August 22, 2024

Hi,

Logger: custom_components.babybuddy.client
Source: custom_components/babybuddy/client.py:75
Integration: Baby Buddy ([documentation](https://github.com/jcgoette/baby_buddy_homeassistant), [issues](https://github.com/jcgoette/baby_buddy_homeassistant/issues))
First occurred: 23:02:53 (2 occurrences)
Last logged: 23:04:33

    Could not create feedings. error: {'non_field_errors': ['Duration too long.']}. Please upgrade to babybuddy v1.11.0. In the meantime, attempting to use 'now()'...

But the addon is listed as v2.0.4. If I use Baby Buddy directly then it works flawlessly.

BR

from baby_buddy_homeassistant.

jcgoette avatar jcgoette commented on August 22, 2024

Hmm. The part after "error:" is coming directly from BB, so I'm thinking something isn't being done exactly the same when it works directly in BB.

from baby_buddy_homeassistant.

Quotenjunkie avatar Quotenjunkie commented on August 22, 2024

Hi,

sorry for not respoding so quickly but as you expect the "little man" needs a lot of attention.

Iยดve tried to replicate and document the error. It seems that if I use a date/time helper then Home assistant deletes the first zero of the time (so instead of 00:05 to 0:05)

If I overwrite the time again then it works.

BR

from baby_buddy_homeassistant.

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.