Update sonos-music-modes.groovy
[smartapps.git] / third-party / FireCO2Alarm.groovy
index c87b152b8e47192e2b181c7683e4fe520dbab2ca..2340dcd0c8a96d9b815620407aa2ccc39f9fa767 100755 (executable)
@@ -457,7 +457,7 @@ private flashLights() {
                def initialActionOn = switches.collect {
                        it.currentSwitch != "on"
                }
-               def delay = 1 L
+               def delay = 1
                numFlashes.times {
                        log.trace "Switch on after  $delay msec"
                        switches.eachWithIndex {
@@ -486,7 +486,7 @@ private flashLights() {
 }
 
 private send(msg) {
-       if (sendPushMessage != "No") {
+       /*if (sendPushMessage != "No") {
                log.debug("sending push message")
                sendPush(msg)
        }
@@ -494,6 +494,6 @@ private send(msg) {
        if (phoneNumber) {
                log.debug("sending text message")
                sendSms(phoneNumber, msg)
-       }
+       }*/
        log.debug msg
 }