mirror of
https://github.com/mtan93/homebridge.git
synced 2026-05-14 14:18:53 +01:00
Use WIP version of HAP-NodeJS refactor
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user