baby_buddy_homeassistant icon indicating copy to clipboard operation
baby_buddy_homeassistant copied to clipboard

Pumping amount is always saved as integer, not float

Open 20BBrown14 opened this issue 4 months ago • 0 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.

20BBrown14 avatar Feb 08 '24 22:02 20BBrown14