UNPKG

homebridge-levoit-humidifiers

Version:
21 lines 763 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); /** * TargetState characteristic handler for the Humidifier service. * This is a read-only characteristic that always returns HUMIDIFIER (1), * as this plugin only supports humidifier mode, not dehumidifier mode. * * Note: This is a static value and requires no device state lookup. */ const characteristic = { /** * Gets the target humidifier state. * Always returns HUMIDIFIER since this plugin only supports humidifiers. */ get: async function () { const { HUMIDIFIER } = this.platform.Characteristic.TargetHumidifierDehumidifierState; return HUMIDIFIER; }, }; exports.default = characteristic; //# sourceMappingURL=TargetState.js.map