jrester / tesla_powerwall

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

Fix login positional argument ordering #21

Closed dilecti closed 3 years ago

dilecti commented 3 years ago

I was unable to log in using Powerwall.login, but I was able to login using Powerwall.login_as. The email and password arguments are reversed when login calls login_as; this PR fixes the ordering.

jrester commented 3 years ago

Missed that! Thanks for submitting.