Skip to content

Commit

Permalink
Updated Debounce with correct syntax
Browse files Browse the repository at this point in the history
- Updated Debounce with correct syntax
  • Loading branch information
seaside1 authored Dec 2, 2024
1 parent 6bb7288 commit 70ff841
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/EXAMPLES.md
Original file line number Diff line number Diff line change
Expand Up @@ -991,7 +991,7 @@ import org.openhab.automation.jrule.rules.JRule;
import org.openhab.automation.jrule.rules.JRuleDebounce;

public class DemoRule extends JRule {
@JRuleDebounce(10)
@JRuleDebounce(unit = ChronoUnit.MINUTES, value = 60)
@JRuleName("Notify if thing stays offline")
@JRuleWhenItemChange(item = MySwitchGroup)
public void debounceMethod() {
Expand Down

0 comments on commit 70ff841

Please sign in to comment.