Update speaker-weather-forecast.groovy
authorRahmadi Trimananda <rahmadi.trimananda@uci.edu>
Fri, 9 Aug 2019 22:54:10 +0000 (15:54 -0700)
committerGitHub Enterprise <noreply@github.uci.edu>
Fri, 9 Aug 2019 22:54:10 +0000 (15:54 -0700)
official/speaker-weather-forecast.groovy

index 951b372377e215e459ae9fa35e3fe0222a8789ac..256b58fc4bd5be3777cd272484e47d9e3910261a 100755 (executable)
@@ -70,7 +70,7 @@ def mainPage() {
                                ifSet "timeOfDay", "time", title: "At a Scheduled Time", required: false
                        }
                }
                                ifSet "timeOfDay", "time", title: "At a Scheduled Time", required: false
                        }
                }
-               def hideable = anythingSet || app.installationState == "COMPLETE"
+               def hideable = anythingSet //|| app.installationState == "COMPLETE"
                def sectionTitle = anythingSet ? "Select additional triggers" : "Play weather report when..."
 
                section(sectionTitle, hideable: hideable, hidden: true){
                def sectionTitle = anythingSet ? "Select additional triggers" : "Play weather report when..."
 
                section(sectionTitle, hideable: hideable, hidden: true){
@@ -103,7 +103,7 @@ def mainPage() {
                }
                section("More options", hideable: true, hidden: true) {
                        input "resumePlaying", "bool", title: "Resume currently playing music after weather report finishes", required: false, defaultValue: true
                }
                section("More options", hideable: true, hidden: true) {
                        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"
+                       //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 "volume", "number", title: "Temporarily change volume", description: "0-100%", required: false
 
                        input "zipCode", "text", title: "Zip Code", required: false
                        input "volume", "number", title: "Temporarily change volume", description: "0-100%", required: false