UNPKG

homebridge-loxone-proxy

Version:

Homebridge Dynamic Platform Plugin which exposes a Loxone System to Homekit.

21 lines 968 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.IRoomControllerV2 = void 0; const LoxoneAccessory_1 = require("../../LoxoneAccessory"); const Thermostat_1 = require("../../homekit/services/Thermostat"); class IRoomControllerV2 extends LoxoneAccessory_1.LoxoneAccessory { isSupported() { this.device.name = 'Thermostat'; return true; } configureServices() { this.ItemStates = { [this.device.states.tempActual]: { 'service': 'PrimaryService', 'state': 'tempActual' }, [this.device.states.tempTarget]: { 'service': 'PrimaryService', 'state': 'tempTarget' }, [this.device.states.operatingMode]: { 'service': 'PrimaryService', 'state': 'operatingMode' }, }; this.Service.PrimaryService = new Thermostat_1.Thermostat(this.platform, this.Accessory); } } exports.IRoomControllerV2 = IRoomControllerV2; //# sourceMappingURL=IRoomControllerV2.js.map