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