Update vacation-lighting-director.groovy
[smartapps.git] / official / vacation-lighting-director.groovy
index c54ad37574bab06ffec1f7590b69dcbb5ed04be9..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
@@ -291,7 +291,7 @@ def scheduleCheck(evt) {
 
 //below is used to check restrictions
 private getAllOk() {
-       modeOk && daysOk && timeOk && homeIsEmpty
+       modeOk && homeIsEmpty/*&& daysOk && timeOk*/
 }