X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=official%2Flaundry-monitor.groovy;h=c71cbd5aecc2d821d88e1c921c8bc19053ed08c6;hb=f0291f59b903fd42eb086c66a8db9e7238415c4b;hp=323b455b60456b657b6126fa0b812c17db772ed9;hpb=1e18142b8f53c9f7a85d35fa03fa9b3eec5af7a6;p=smartapps.git diff --git a/official/laundry-monitor.groovy b/official/laundry-monitor.groovy index 323b455..c71cbd5 100755 --- a/official/laundry-monitor.groovy +++ b/official/laundry-monitor.groovy @@ -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) {