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 c4155b76da08955ed495145e7d02a3f89a896052..feab8212eadbe0f1131a788a2dceee3cbf6c1fc5 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