From: amiraj Date: Thu, 1 Aug 2019 23:01:36 +0000 (-0700) Subject: a minor bug in schedule method! X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=76acd359abf5953c851c105b0b58bff07d717f3e;p=smartthings-infrastructure.git a minor bug in schedule method! --- diff --git a/Methods/schedule.groovy b/Methods/schedule.groovy index fac8d95..307b221 100644 --- a/Methods/schedule.groovy +++ b/Methods/schedule.groovy @@ -15,7 +15,6 @@ def schedule(String time, String nameOfFunction) { //} else { // delay = inputTime-currentTime //} - timersFuncList.add(nameOfFunction) timersList.add(new SimulatedTimer()) def task = timersList[timersFuncList.indexOf(nameOfFunction)].runAfter(/*delay*1000*0*/0) {