Add the hue characteristics for all lamps, as we're trying to handle this in some way now

This commit is contained in:
Sam Edwards
2015-08-25 10:46:57 -07:00
parent f81e594ff0
commit 7d5caae96d

View File

@@ -104,11 +104,9 @@ MiLight.prototype = {
.addCharacteristic(new Characteristic.Brightness())
.on('set', this.setBrightness.bind(this));
if (this.type == "rgbw" || this.type == "rgb") {
lightbulbService
.addCharacteristic(new Characteristic.Hue())
.on('set', this.setHue.bind(this));
}
lightbulbService
.addCharacteristic(new Characteristic.Hue())
.on('set', this.setHue.bind(this));
return [informationService, lightbulbService];
}