Request: Allow more specific food measurements
sfgabe opened this issue · comments
Gabe commented
I'm integrating a kitchen scale to record food measurements, so I'd like to add decimal point options to the feeding switch.
I've done this on my local version by changing line 91 in switch.py to
vol.Optional(ATTR_AMOUNT): cv.positive_float,
Just sharing in case you want to integrate it.
Justin Goette commented
Sounds cool.
Open a PR?
Gabe commented
FYI: Details on the scale project over here:
https://github.com/sfgabe/OITProjects/tree/master/BabyBuddy_ESP_HASS