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
//below is used to check restrictions
private getAllOk() {
- modeOk && daysOk && timeOk && homeIsEmpty
+ modeOk && homeIsEmpty/*&& daysOk && timeOk*/
}