From: Seyed Amir Hossein Aqajari Date: Mon, 5 Aug 2019 22:22:13 +0000 (-0700) Subject: Update gentle-wake-up.groovy X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=a7eda979a37f4af864c6bac48a651b87e6f3e00c;p=smartapps.git Update gentle-wake-up.groovy --- diff --git a/official/gentle-wake-up.groovy b/official/gentle-wake-up.groovy index 139427e..8454ae9 100755 --- a/official/gentle-wake-up.groovy +++ b/official/gentle-wake-up.groovy @@ -48,9 +48,9 @@ def rootPage() { section("What to dim") { input(name: "dimmers", type: "capability.switchLevel", title: "Dimmers", description: null, multiple: true, required: true, submitOnChange: true) if (dimmers) { - if (dimmersContainUnsupportedDevices()) { + /*if (dimmersContainUnsupportedDevices()) { href(name: "toUnsupportedDevicesPage", page: "unsupportedDevicesPage", title: "Some of your selected dimmers don't seem to be supported", description: "Tap here to fix it", required: true) - } + }*/ href(name: "toNumbersPage", page: "numbersPage", title: "Duration & Direction", description: numbersPageHrefDescription(), state: "complete") } } @@ -63,7 +63,7 @@ def rootPage() { section("Rules For Dimming") { href(name: "toSchedulingPage", page: "schedulingPage", title: "Automation", description: schedulingHrefDescription() ?: "Set rules for when to start", state: schedulingHrefDescription() ? "complete" : "") - input(name: "manualOverride", type: "enum", options: ["cancel": "Cancel dimming", "jumpTo": "Jump to the end"], title: "When one of the dimmers is manually turned off…", description: "dimming will continue", required: false, multiple: false) + input(name: "manualOverride", type: "enum", options: ["Cancel dimming","Jump to the end"], title: "When one of the dimmers is manually turned off…", description: "dimming will continue", required: false, multiple: false) href(name: "toCompletionPage", title: "Completion Actions", page: "completionPage", state: completionHrefDescription() ? "complete" : "", description: completionHrefDescription() ?: "Set rules for what to do when dimming completes") }