jeffreydwalter / arlo

Python module for interacting with Netgear's Arlo camera system.
Apache License 2.0
520 stars 123 forks source link

Supply "schemaVersion" header when changing the base station's mode #170

Closed neilferreira closed 3 years ago

neilferreira commented 3 years ago

Fixes https://github.com/jeffreydwalter/arlo/issues/168

I would argue that this should be set as part of the login call, but for now, this is the least invasive way of resolving this.

jeffreydwalter commented 3 years ago

@neilferreira thank you for the PR! I agree with you, schemaVersion should be set during login. I used to set it, but removed it while trying to get the library working with Python3 (there's a bug in the requests library). I went ahead and made the correct change. Thanks again for pointing out my oversight!