Commit Graph

6 Commits

Author SHA1 Message Date
NickDub
ec66219ed7 Added multi-channel devices and get/set power state (#2)
* added multi-channel device

* added get and set power state

* added some fixes

* add “this” to call class methods
* create params object before build payload
* typo fixed on “switches” param

* added new test cases

* improved error message

* added more test cases

* added authentication error

* added fix channel number too high

* added region change if wrong

* linting + small fixes

* linting + renamed method

* linting
2019-07-17 02:23:26 -03:00
Ig0rr0
003b88053b * fix region (#1)
[example: eu insteal us]
2019-07-06 19:03:19 -03:00
Martín M
2962566679 class refactor 2019-06-28 23:24:46 -03:00
Martín M
7dbc0f2331 throw error when device not found 2019-06-26 23:14:31 -03:00
Martín M
d8971ee2b5 fixed bug with undefined variable 2019-06-26 21:49:31 -03:00
Martín M
11be3e0d58 created ewelink class 2019-06-26 21:29:43 -03:00