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

index b47f657..a76278e 100755 (executable)
@@ -146,7 +146,7 @@ private flashLights() {
        if (state.lastActivated) {
                def elapsed = now() - state.lastActivated
                def sequenceTime = (numFlashes + 1) * (onFor + offFor)
-               doFlash = elapsed > sequenceTime
+               doFlash = true//elapsed > sequenceTime
                log.debug "DO FLASH: $doFlash, ELAPSED: $elapsed, LAST ACTIVATED: ${state.lastActivated}"
        }