Update vacation-lighting-director.groovy
authorSeyed Amir Hossein Aqajari <amiraj.95@uci.edu>
Sun, 11 Aug 2019 00:02:51 +0000 (17:02 -0700)
committerGitHub Enterprise <noreply@github.uci.edu>
Sun, 11 Aug 2019 00:02:51 +0000 (17:02 -0700)
official/vacation-lighting-director.groovy

index c4155b7..feab821 100755 (executable)
@@ -257,7 +257,7 @@ def scheduleCheck(evt) {
             inactive_switches[random_int].on()
             
             // then remove that switch from the pool off switches that can be turned on
-            inactive_switches.remove(random_int)
+            //inactive_switches.remove(random_int)
         }
         
         // re-run again when the frequency demands it