Update speaker-weather-forecast.groovy
[smartapps.git] / official / speaker-weather-forecast.groovy
index 256b58fc4bd5be3777cd272484e47d9e3910261a..736d32dd5fd31bb523ba32301b1dcf706c4ba708 100755 (executable)
@@ -105,7 +105,7 @@ def mainPage() {
                        input "resumePlaying", "bool", title: "Resume currently playing music after weather report finishes", required: false, defaultValue: true
                        //href "chooseTrack", title: "Or play this music or radio station", description: song ? state.selectedSong?.station : "Tap to set", state: song ? "complete" : "incomplete"
 
-                       input "zipCode", "text", title: "Zip Code", required: false
+                       //input "zipCode", "text", title: "Zip Code", required: false
                        input "volume", "number", title: "Temporarily change volume", description: "0-100%", required: false
                        input "frequency", "decimal", title: "Minimum time between actions (defaults to every event)", description: "Minutes", required: false
                        //href "timeIntervalInput", title: "Only during a certain time", description: timeLabel ?: "Tap to set", state: timeLabel ? "complete" : "incomplete"
@@ -234,7 +234,7 @@ def appTouchHandler(evt) {
 
 private takeAction(evt) {
 
-       loadText()
+       //loadText()
 
        if (song) {
                //sonos.playSoundAndTrack(state.sound.uri, state.sound.duration, state.selectedSong, volume)
@@ -441,6 +441,3 @@ private loadText() {
 private list(String s) {
        [s]
 }
-private list(l) {
-       l
-}