UNPKG

homebridge-tahoma-fork

Version:

Sample Platform plugin for TaHoma and Cozytouch services (Somfy,Atlantic,Thermor,Sauter): https://github.com/Stuard40/homebridge-tahoma

20 lines 934 B
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); const Platform_1 = require("../../Platform"); const HeatingSystem_1 = __importDefault(require("../HeatingSystem")); class HeatingSetPoint extends HeatingSystem_1.default { registerMainService() { var _a, _b; const service = super.registerMainService(); (_a = this.targetState) === null || _a === void 0 ? void 0 : _a.setProps({ validValues: [ Platform_1.Characteristics.TargetHeatingCoolingState.AUTO, ] }); (_b = this.targetState) === null || _b === void 0 ? void 0 : _b.updateValue(Platform_1.Characteristics.TargetHeatingCoolingState.AUTO); return service; } } exports.default = HeatingSetPoint; //# sourceMappingURL=HeatingSetPoint.js.map