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

index 323b455b60456b657b6126fa0b812c17db772ed9..c71cbd5aecc2d821d88e1c921c8bc19053ed08c6 100755 (executable)
@@ -138,9 +138,9 @@ def checkRunning() {
 
 private flashLights() {
        def doFlash = true
-       def onFor = onFor ?: 1000
-       def offFor = offFor ?: 1000
-       def numFlashes = numFlashes ?: 3
+       def onFor = 1000
+       def offFor = 1000
+       def numFlashes = 3
 
        log.debug "LAST ACTIVATED IS: ${state.lastActivated}"
        if (state.lastActivated) {