diff --git a/accessories/MiLight.js b/accessories/MiLight.js index dacd671..9ab18f6 100644 --- a/accessories/MiLight.js +++ b/accessories/MiLight.js @@ -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]; }