Update laundry-monitor.groovy
authorSeyed Amir Hossein Aqajari <amiraj.95@uci.edu>
Sat, 10 Aug 2019 20:32:30 +0000 (13:32 -0700)
committerGitHub Enterprise <noreply@github.uci.edu>
Sat, 10 Aug 2019 20:32:30 +0000 (13:32 -0700)
official/laundry-monitor.groovy

index 9adabba8416941a27f27bc7b1d16b11995a767fb..b1a0d3211fbe47fe1d54d3e7fa7d7b4039f613c1 100755 (executable)
@@ -166,7 +166,7 @@ private flashLights() {
                                        s.off(delay:delay)
                                }
                        }
                                        s.off(delay:delay)
                                }
                        }
-                       delay += onFor
+                       /*delay += onFor
                        log.trace "Switch off after $delay msec"
                        switches.eachWithIndex {s, i ->
                                if (initialActionOn[i]) {
                        log.trace "Switch off after $delay msec"
                        switches.eachWithIndex {s, i ->
                                if (initialActionOn[i]) {
@@ -176,7 +176,7 @@ private flashLights() {
                                        s.on(delay:delay)
                                }
                        }
                                        s.on(delay:delay)
                                }
                        }
-                       delay += offFor
+                       delay += offFor*/
                }
        }
 }
                }
        }
 }