benleb / surepy

🐾 Library & CLI to monitor and control the Pet Door & Cat Flap Connect 🚪 the Pet Feeder Connect 🍽 and the Felaqua 💦 sold by Sure Petcare
https://pypi.org/project/surepy/
MIT License
76 stars 36 forks source link

added http delete method used to remove pet from feeder #188

Closed msilva12 closed 1 year ago

msilva12 commented 1 year ago

Sure pet api utilizes DELETE for http methods when registering a tag with a feeder. Adding this will allow development to register a pet to a feeder, or other devices, as well as remove them from such devices. My primary use for this is to allow for a time based automation of when the feeder allows a certain cat to use it. image

badnetmask commented 1 year ago

I also added DELETE on PR #164. I'm on my mobile now and can't review the code, but might be worth looking at both.

msilva12 commented 1 year ago

Deferring this PR to PR #164.