UNPKG

homebridge-levoit-humidifiers

Version:
19 lines 506 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const characteristic = { get: async function () { await this.device.updateInfo(); if (this.device.displayOn) { return true; } else { return false; } }, set: async function (value) { const boolValue = value == 1; await this.device.setDisplay(boolValue); }, }; exports.default = characteristic; //# sourceMappingURL=DisplayState.js.map