feat: event-trigger run logs live value on no-change

Diagnosis aid: when a rule evaluates but doesn't fire, run now prints
'OK: <cmd> = <value> (no change)' so a rule that silently never crosses
its threshold (e.g. wrong sensor in the check command) is visible
instead of just 'evaluated N rule(s)'.
This commit is contained in:
Your Name
2026-08-09 18:11:51 +00:00
parent 3ae18499ad
commit 5f2c8fdcec
+2
View File
@@ -94,6 +94,8 @@ run_rules() {
fi
elif [ "$DRY_RUN" -eq 1 ]; then
log "(dry-run) OK: $RULE_CMD = $VALUE_DISPLAY (no change)"
else
log "OK: $RULE_CMD = $VALUE_DISPLAY (no change)"
fi
done
if [ "$skipped" -gt 0 ]; then