From 8b08a2cacdc6fe8024ee9ca6488a7e433cb83fde Mon Sep 17 00:00:00 2001 From: bdemsky Date: Tue, 6 Aug 2019 20:23:08 -0700 Subject: [PATCH] edit --- Methods/eventHandler.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Methods/eventHandler.groovy b/Methods/eventHandler.groovy index e8ae2be..59bb059 100644 --- a/Methods/eventHandler.groovy +++ b/Methods/eventHandler.groovy @@ -12,7 +12,7 @@ def eventHandler(LinkedHashMap eventDataMap) { for (int i = 0;i < app2.eventList.size();i++) { if (app2.eventList[i] == name && - (app2.valueList[i] == "" || app2.valueList == value)) { + (app2.valueList[i] == "" || app2.valueList[i] == value)) { def event = new Event(value, name, deviceId, descriptionText, displayed, linkText, linkText, isStateChange, unit, data) if (app2.functionList[i] instanceof String) { String toCall = app2.functionList[i] @@ -25,7 +25,7 @@ def eventHandler(LinkedHashMap eventDataMap) { for (int i = 0;i < app1.eventList.size();i++) { if (app1.eventList[i] == name && - (app1.valueList[i] == "" || app1.valueList == value)) { + (app1.valueList[i] == "" || app1.valueList[i] == value)) { def event = new Event(value, name, deviceId, descriptionText, displayed, linkText, linkText, isStateChange, unit, data) if (app1.functionList[i] instanceof String) { String toCall = app1.functionList[i] -- 2.34.1