jcgoette/baby_buddy_homeassistant

Pumping amount is always saved as integer, not float

20BBrown14 opened this issue · 1 comments

When using the add_pumping service, specifying a float for the amount is always saved as an integer (2.73 -> 2.0, 3.5 -> 3.0, etc) in baby buddy.
I have confirmed that the baby buddy API itself handles floats just fine and saved them as expected. For some reason, the add_pumping service doesn't honor the float and converts it to an integer.

Fixed by 75c263a.