Update step-notifier.groovy
[smartapps.git] / official / step-notifier.groovy
index 7aec19c178283349ebab827ec74a5da21c0fe604..9e92c2ead0370ef95aff485554d12f00745a2c75 100755 (executable)
@@ -39,7 +39,7 @@ def setupNotifications() {
     dynamicPage(name: "setupNotifications", title: "Configure Your Goal Notifications.", install: true, uninstall: true) {     
     
                section("Select your Jawbone UP") {
-                       input "jawbone", "device.jawboneUser", title: "Jawbone UP", required: true, multiple: false
+                       input "jawbone", "capability.stepSensor", title: "Jawbone UP", required: true, multiple: false
                }
            
        section("Notify Me When"){
@@ -66,7 +66,7 @@ def setupNotifications() {
         section("Change the Color of the Lights") {
                input "hues", "capability.colorControl", title: "Which Hue Bulbs?", required:false, multiple:true
             input "color", "enum", title: "Hue Color?", required: false, multiple:false, options: ["Red","Green","Blue","Yellow","Orange","Purple","Pink"]
-                       input "lightLevel", "enum", title: "Light Level?", required: false, options: [[10:"10%"],[20:"20%"],[30:"30%"],[40:"40%"],[50:"50%"],[60:"60%"],[70:"70%"],[80:"80%"],[90:"90%"],[100:"100%"]]
+                       input "lightLevel", "enum", title: "Light Level?", required: false, options: [10,20,30,40,50,60,70,80,90,100]
                        input "duration", "number", title: "Duration in Seconds?", defaultValue: 30, required: false
         }