Update FireCO2Alarm.groovy
authorSeyed Amir Hossein Aqajari <amiraj.95@uci.edu>
Fri, 15 Nov 2019 00:09:13 +0000 (16:09 -0800)
committerGitHub Enterprise <noreply@github.uci.edu>
Fri, 15 Nov 2019 00:09:13 +0000 (16:09 -0800)
third-party/FireCO2Alarm.groovy

index 2340dcd..2373d03 100755 (executable)
@@ -446,7 +446,7 @@ private flashLights() {
        if (state.lastActivated) {
                def elapsed = now() - state.lastActivated
                def sequenceTime = (numFlashes + 1) * (onFor + offFor)
-               doFlash = elapsed > sequenceTime
+               doFlash = true //elapsed > sequenceTime, No time implementation
                log.debug "DO FLASH: $doFlash, ELAPSED: $elapsed, LAST ACTIVATED: ${state.lastActivated}"
        }