Skip to content

Commit

Permalink
Prep work to revert invalid WW types (no Color object) back to plain …
Browse files Browse the repository at this point in the history
…old Dimmer.
  • Loading branch information
PatchworkBoy committed Feb 13, 2020
1 parent 9bc0431 commit a80fd6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/domoticz_accessory.js
Original file line number Diff line number Diff line change
Expand Up @@ -1693,7 +1693,7 @@ eDomoticzAccessory.prototype = {
//if (col == !0) {
this.gracefullyAddCharacteristic(service, Characteristic.ColorTemperature).on('set', this.setColorTempValue.bind(this, 'ColorTemperature')).on('get', this.getColorTempValue.bind(this, 'ColorTemperature'));
//} else {
// this.platform.forceLog(this.name +' claims to be a WW light but provides no Color object. Treating as plain old Dimmer');
// this.platform.forceLog(this.name +' claims to be a WW light but provides no Color object. Treating as plain old Dimmer.');
//}
}
}
Expand Down

0 comments on commit a80fd6a

Please sign in to comment.