Update gentle-wake-up.groovy
authorSeyed Amir Hossein Aqajari <amiraj.95@uci.edu>
Thu, 8 Aug 2019 01:03:39 +0000 (18:03 -0700)
committerGitHub Enterprise <noreply@github.uci.edu>
Thu, 8 Aug 2019 01:03:39 +0000 (18:03 -0700)
official/gentle-wake-up.groovy

index c2b28fc6bfe16a40b86e36c06fc929e58fb3fc71..3dfe9fa581678b576ffcb416c0fa37857a9b5568 100755 (executable)
@@ -276,6 +276,7 @@ def updated() {
 }
 
 private initialize() {
+       startLevel = 0//Chagne start level to 0 to make it possible for the light to be off!
        stop("settingsChange")
 
        if (startTime) {