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

Update cli #144

Closed persandstrom closed 1 year ago

persandstrom commented 1 year ago
persandstrom commented 1 year ago

@niro1987 Do you mind reviewing?

niro1987 commented 1 year ago

Will check and get back to you

niro1987 commented 1 year ago

I think the cookies need to be refreshed in the request function, so that the request will not fail after the initial cookie has expired.

niro1987 commented 1 year ago

@persandstrom when do you expect to be able to look into merging these requests? I have some more improvements lined up.

persandstrom commented 1 year ago

I'll merge this now and we can look at the cookie expiring in another MR

niro1987 commented 1 year ago

I already have something setup in a local repo regarding the cookies. I'll create the draft MR once these are merged.