Skip to content

Commit

Permalink
Added notification that sensor state changes will not be logged
Browse files Browse the repository at this point in the history
  • Loading branch information
justjam2013 committed Jan 8, 2025
1 parent 76d011d commit 9346012
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/triggers/triggerCron.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ export class CronTrigger extends Trigger {
return;
}

if (triggerConfig.disableTriggerEventLogging) {
this.log.info(`[${this.sensorConfig.accessoryName}] Cron trigger event logging is disabled. Sensor state changes will not be displayed in the logs`);
}

// Hardcode reset delay
const resetDelayMillis: number = 3 * 1000; // 3 second reset delay

Expand Down

0 comments on commit 9346012

Please sign in to comment.