Hexagon / node-telldus

Node bindings for telldus-core
Other
34 stars 10 forks source link

Support async addDevice and similar methods. #25

Closed kmpm closed 10 years ago

kmpm commented 10 years ago

The wrapper for AsyncCall always considered the first number to be an error if <>0. Only negative numbers are errors. addDevice for example returns a positive new device id.

Also reorganized some tests in relation to this.