diff --git a/app/src/main/java/com/jens/automation2/Trigger.java b/app/src/main/java/com/jens/automation2/Trigger.java index 72442a51..3164a04b 100644 --- a/app/src/main/java/com/jens/automation2/Trigger.java +++ b/app/src/main/java/com/jens/automation2/Trigger.java @@ -18,8 +18,19 @@ import java.util.Date; public class Trigger { Rule parentRule = null; + boolean hasFlipped = false; - public boolean applies(Object triggeringObject) + public boolean getHasFlipped() + { + return hasFlipped; + } + + public void setHasFlipped(boolean hasFlipped) + { + this.hasFlipped = hasFlipped; + } + + public boolean applies(Object triggeringObject) { try {