-
-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Support for Setting the Manual Feed Amount for Air Smart Feeders #63
Conversation
…d can be dispensed
… the user to set the value
Edited air_smart_feeder.py and api.py
…mber scale. -Added a in-class variable that represents the manual feed quantity in air_smart_feeder.py - Changed the set_manual_feed method in air_smart_feeder.py to accomadate passing in the new variable -Changed the set_manual_feed function in api.py to allow to pass the new variable into the api-driven web-request -Added a number entity to represent the manual feed quantity in number.py
@Nistp I'll give this a test a little later today when I can. Based upon what I see we should be able to expand this to the other feeders as well. Great work! |
Don't mind me if you're getting notifications about edits/changes atm to your post @Nistp Was doing a change on my side for how GitHub sends webhooks to my server 😄 |
Any updates on this being updated to the update integration looks like you are close. |
@Nistp there's a small bug I am working out on my side with this. Whenever it loads it defaults to unknown until you set it. But good news is I was able to get it to work with the other devices. I'll get your push updated with the code once I finish up the testing. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After the changes this now works for all devices and looks good. @Nistp if you would pull a copy and do a test run on your side just to confirm.
Thanks 😃
custom_components/petlibro/devices/feeders/granary_smart_camera_feeder.py
Show resolved
Hide resolved
@jjjonesjr33 yeah, it worked fine for me! I currently only have Air Smart Feeders, but it works for them, yep! |
Proposed change:
This PR adds the support for setting the manual feed/dispense amount for Petlibro Air Smart Feeders.
Attached are the pictures of the button object and then a validation of the implementation.
Closes #33
Type of change:
Checklist:
Additional notes: