UNPKG

homebridge-levoit-humidifiers

Version:
12 lines 724 B
import { CharacteristicValue } from 'homebridge'; /** * Debounces a set operation for a characteristic. * If called multiple times within the debounce window, only the last value is applied. * * @param uuid - Device UUID to uniquely identify the device * @param value - New value to set (will be rounded to integer) * @param callback - Function to call with the final value after debounce period * @param logger - Optional logger function for error logging (e.g., (msg) => log.debug(msg)) */ export declare function debounceSet(uuid: string, value: number | CharacteristicValue, callback: (finalValue: number) => Promise<void> | void, logger?: (message: string) => void): void; //# sourceMappingURL=debounce.d.ts.map