jrester / tesla_powerwall

Python API for Tesla Powerwall
MIT License
73 stars 25 forks source link

Loggout is giving "Powerwall api Error: while decoding json reponse:" #50

Closed greyghoster closed 1 year ago

greyghoster commented 1 year ago

As stated in the title, logout() is throwing an error. The login works and a number of commands execute fine but logout is not clean.

Code:

Logout

try: powerwall.logout() print('Logout') except Exception as err: print('Logged out ', err)

Msg returned: Logged out Powerwall api error: Error while decoding json of response:

jrester commented 1 year ago

Thanks for reporting this bug. I fixed it and it will be released soon together with #48 .