lucien2k / sonoff-python

Make use of your sonoff smart switches without flashing them via the cloud APIs
MIT License
53 stars 32 forks source link

Skip do_login() if user knows user_apikey and bearer_token #1

Closed xdml closed 5 years ago

xdml commented 5 years ago

Small optimization, if user knows user_apikey and bearer_token do_login() can be skipped.