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

Fix HTTP 400 bug in update_devices method #13

Closed VDigitall closed 4 years ago

VDigitall commented 4 years ago

Fix error {"error":400,"msg":"params incomplete"} when get_devices() return an empty list.

lucien2k commented 4 years ago

Added a comment, looks good otherwise.