persandstrom / python-verisure

A python module for reading and changing status of verisure devices through verisure app api.
MIT License
134 stars 42 forks source link

fix XBN Database is not activated #145 #146

Closed niro1987 closed 1 year ago

niro1987 commented 1 year ago

Fixes #145 The request function will now try both base urls. The url that worked will be tried first on the next request.

persandstrom commented 1 year ago

Looks good, but I will probably do some refactoring regarding the URLs soon, seems like there is a lot of common code for switching base_url.

Please update revision history and version as well

niro1987 commented 1 year ago

I've been refactoring too, just wanted to get the functionallity in first. If you'll let me, I can do the work. I was thinking of taking the same approach as master branch, by importing from urls.py

niro1987 commented 1 year ago

@persandstrom ready