Http.js shim modification corrections

This commit is contained in:
Kevin Mathy
2015-11-01 22:00:17 +01:00
parent bee6d03d80
commit 91044f0d92

View File

@@ -101,8 +101,7 @@ HttpAccessory.prototype = {
switchService switchService
.getCharacteristic(Characteristic.On) .getCharacteristic(Characteristic.On)
.on('get', this.getPowerOn.bind(this)) .on('set', this.setPowerState.bind(this));
.on('set', this.setPowerOn.bind(this));
return [switchService]; return [switchService];
} else if (this.service == "Light") { } else if (this.service == "Light") {