mirror of
https://github.com/mtan93/homebridge.git
synced 2026-03-08 05:31:55 +00:00
Http.js shim modification corrections
This commit is contained in:
@@ -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") {
|
||||||
|
|||||||
Reference in New Issue
Block a user