Update step-notifier.groovy
authorSeyed Amir Hossein Aqajari <amiraj.95@uci.edu>
Mon, 5 Aug 2019 02:08:04 +0000 (19:08 -0700)
committerGitHub Enterprise <noreply@github.uci.edu>
Mon, 5 Aug 2019 02:08:04 +0000 (19:08 -0700)
official/step-notifier.groovy

index 7aec19c..90c6416 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") {
     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"){
                }
            
        section("Notify Me When"){