stianaske / pybotvac

Python module for interacting with Neato Botvac Connected vacuum robots.
MIT License
85 stars 44 forks source link

Add OAuth2 #59

Closed Santobert closed 3 years ago

Santobert commented 4 years ago

I have tried to implement the minimal requirements of Home Assistant without breaking too much of the existing API. It is also possible to use OAuth in any application other than Home Assistant, even from the command line. See sample.py for an example.

https://developers.home-assistant.io/docs/api_lib_auth/#oauth2

Closes: #6

Santobert commented 3 years ago

@stianaske this branch is now up to date with the current master. You can go for a first review if you want to.

There are still some minor todos, I have to verify the Vorwerk defaults and I have to test this with Home Assistant. But I don't expect any major changes.