Update step-notifier.groovy
[smartapps.git] / official / step-notifier.groovy
index 8a91b9fd3d4817518785231ea6b81bdb33d68461..322418655d4b46a08f03c1b18a88845dea3976b2 100755 (executable)
@@ -42,7 +42,7 @@ def setupNotifications() {
                }
            
        section("Notify Me When"){
-                       input "thresholdType", "enum", title: "Select When to Notify", required: false, defaultValue: "Goal Reached", options: [["Goal":"Goal Reached"],["Threshold":"Specific Number of Steps"]], submitOnChange:true
+                       input "thresholdType", "enum", title: "Select When to Notify", required: false, defaultValue: "Goal Reached", options: ["Goal","Threshold"], submitOnChange:true
             if (settings.thresholdType) {
                 if (settings.thresholdType == "Threshold") {
                        input "threshold", "number", title: "Enter Step Threshold", description: "Number", required: true