diff --git a/src/accessory.ts b/src/accessory.ts index 03f69dc..c8d0c90 100644 --- a/src/accessory.ts +++ b/src/accessory.ts @@ -518,10 +518,8 @@ export class WinixPurifierAccessory { let timeoutId: NodeJS.Timeout | null = null; return async (arg: CharacteristicValue) => { if (timeoutId) { - this.log.debug('debounce:clearing timeout'); clearTimeout(timeoutId); } - this.log.debug('debounce:setting timeout'); timeoutId = setTimeout(async () => await func(arg), delay); }; }