a minor bug in schedule method!
[smartthings-infrastructure.git] / Methods / schedule.groovy
index fac8d952cecfc82dc001b519d9bc74dedcf045df..307b221e25c3f2a89cd3f6f3981ec78648d5252d 100644 (file)
@@ -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) {