jcgoette / baby_buddy_homeassistant

This custom integration provides sensors for Baby Buddy API endpoints.
MIT License
64 stars 30 forks source link

I don't understand the timer workflow #85

Closed AndreKR closed 1 year ago

AndreKR commented 1 year ago

So how am I supposed to add a feeding using the timer?

I start the timer, then I call the "Add feeding" service with entity_id of the timer and also timer = True and then when the feeding ends I turn off the timer? That doesn't work for me, the feeding is created with identical start and end time and is never updated.

jcgoette commented 1 year ago

Calling a service with an active timer passed in should consume the timer and use the timer's start instant.

AndreKR commented 1 year ago

Ah yes, it does now. Turns out I didn't actually set timer to True.