UNPKG

homebridge-levoit-humidifiers

Version:
23 lines 904 B
import { CharacteristicGetHandler, CharacteristicSetHandler } from 'homebridge'; import { AccessoryThisType } from '../VeSyncAccessory'; /** * LightState characteristic handler for the Night Light service. * Controls whether the night light is on or off. * * 4 brightness levels (0, 25, 50, 75, 100) for non-RGB models. * RGB models support continuous brightness from 39-100%. * * Behavior: * - Turning on always sets brightness to 50% (device limitation) * - Turning off sets brightness to 0% * - RGB models use lightOn attribute as source of truth * - Non-RGB models infer state from brightness level * * Note: Uses cached device state from background polling to avoid slow read warnings. */ declare const characteristic: { get: CharacteristicGetHandler; set: CharacteristicSetHandler; } & AccessoryThisType; export default characteristic; //# sourceMappingURL=LightState.d.ts.map