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

index 9e92c2e..8a91b9f 100755 (executable)
@@ -25,7 +25,6 @@ definition(
 
 preferences {
        page(name: "setupNotifications")
-    page(name: "chooseTrack", title: "Select a song or station")
        page(name: "timeIntervalInput", title: "Only during a certain time") {
                section {
                        input "starting", "time", title: "Starting", required: false
@@ -83,14 +82,6 @@ def setupNotifications() {
     }
 }
 
-def chooseTrack() {
-       dynamicPage(name: "chooseTrack") {
-               section{
-                       input "song","enum",title:"Play this track", required:true, multiple: false, options: songOptions()
-               }
-       }
-}
-
 private songOptions() {
 
        // Make sure current selection is in the set