Use WIP version of HAP-NodeJS refactor

This commit is contained in:
Nick Farina
2015-08-03 08:33:41 -07:00
parent ab71dc352f
commit 6e61287f59
3 changed files with 32 additions and 102 deletions
+1 -1
View File
@@ -68,7 +68,7 @@ WeMoAccessory.prototype = {
if (!err) {
var binaryState = parseInt(result)
that.log("power state for " + that.wemoName + " is: " + binaryState)
callback(binaryState)
callback(binaryState > 0 ? 1 : 0);
}
else {
that.log(err)