"First commit!"
[smartthings-infrastructure.git] / Methods / unschedule.groovy
1 /////////////////////////////////////////////////////////////////////
2 ////unschedule(func)
3 def unschedule(Closure Input) {
4         for (int i = 0;i < ListofTimersFunc.size();i++) {
5                 if (ListofTimersFunc[i] == Input) {
6                         ListofTimers[i].cancel()
7                 }
8         }
9 }