From: Rahmadi Trimananda Date: Thu, 24 Oct 2019 19:44:21 +0000 (-0700) Subject: Update speaker-weather-forecast.groovy X-Git-Url: http://plrg.eecs.uci.edu/git/?p=smartapps.git;a=commitdiff_plain;h=3cf9c73aad2a5709a163f6ead11a87d0d6b4e53d Update speaker-weather-forecast.groovy --- diff --git a/official/speaker-weather-forecast.groovy b/official/speaker-weather-forecast.groovy index 256b58f..736d32d 100755 --- a/official/speaker-weather-forecast.groovy +++ b/official/speaker-weather-forecast.groovy @@ -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 -}