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

Error trying to use m-api #133

Closed Soleg06 closed 2 years ago

Soleg06 commented 2 years ago

I'm trying to use the new m-api but I can't seem to log in, what am I doing wrong?? I get these errormessages

LoginError: Failed to log in

AttributeError: 'Session' object has no attribute '_cookies'

Edit: Solved it! Needed to disable two factor authentication on my account. Got a totally different cookie now!

persandstrom commented 2 years ago

Sorry for the late reply, missed this one. Great that you solved it!