homebridge-loxone-proxy
Version:
Homebridge Dynamic Platform Plugin which exposes a Loxone System to Homekit.
15 lines • 658 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ColorPickerV2 = void 0;
const LoxoneAccessory_1 = require("../../LoxoneAccessory");
const ColorLightBulb_1 = require("../../homekit/services/ColorLightBulb");
class ColorPickerV2 extends LoxoneAccessory_1.LoxoneAccessory {
configureServices() {
this.ItemStates = {
[this.device.states.color]: { 'service': 'PrimaryService', 'state': 'color' },
};
this.Service.PrimaryService = new ColorLightBulb_1.ColorLightBulb(this.platform, this.Accessory);
}
}
exports.ColorPickerV2 = ColorPickerV2;
//# sourceMappingURL=ColorPickerV2.js.map