From 15637e914d11dc58731486eb2325da3ff6df1691 Mon Sep 17 00:00:00 2001 From: jens Date: Sat, 27 Nov 2021 01:52:57 +0100 Subject: [PATCH] Translations and integrated BT tethering --- app/src/main/java/com/jens/automation2/Trigger.java | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) 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 {