Update gentle-wake-up.groovy
[smartapps.git] / official / gentle-wake-up.groovy
index d4d0c7209d9c697127a8efcf1ff11283df318f15..c2b28fc6bfe16a40b86e36c06fc929e58fb3fc71 100755 (executable)
@@ -86,9 +86,6 @@ def unsupportedDevicesPage() {
                                        paragraph deviceLabel(it)
                                }
                        }
-                       /*section {
-                               input(name: "dimmers", type: "capability.sensor", title: "Please remove the above devices from this list.", submitOnChange: true, multiple: true)
-                       }*/
                        section {
                                paragraph "If you think there is a mistake here, please contact support."
                        }
@@ -532,7 +529,7 @@ private increment() {
                def runAgain = stepDuration()
                log.debug "Rescheduling to run again in ${runAgain} seconds"
 
-               runIn(runAgain, 'increment', [overwrite: true])
+               //runIn(runAgain, 'increment', [overwrite: true])
 
        } else {
 
@@ -704,9 +701,9 @@ def canStartAutomatically() {
        def today = new Date().format("EEEE")
        log.debug "today: ${today}, days: ${days}"
 
-       if (!days || days.contains(today)) {// if no days, assume every day
+       //if (!days || days.contains(today)) {// if no days, assume every day
                return true
-       }
+       //}
 
        log.trace "should not run"
        return false