Skip to content

Commit

Permalink
remove debug messages
Browse files Browse the repository at this point in the history
  • Loading branch information
regaw-leinad committed Feb 20, 2024
1 parent 26dcff8 commit 624a7a9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/accessory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
};
}
Expand Down

0 comments on commit 624a7a9

Please sign in to comment.