From: Rahmadi Trimananda Date: Thu, 15 Aug 2019 15:48:20 +0000 (-0700) Subject: Update Switches.groovy X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b284400d334f3e839cc17d6983f6182012077194;p=smartapps.git Update Switches.groovy --- diff --git a/third-party/Switches.groovy b/third-party/Switches.groovy index 9629299..645fa43 100755 --- a/third-party/Switches.groovy +++ b/third-party/Switches.groovy @@ -51,7 +51,7 @@ def initialize() { def switchHandler(evt) { def s = switches.find{ evt.deviceId == it.id } - def phrase = location.helloHome.getPhrases().find { it.label == s.displayName } + //def phrase = location.helloHome.getPhrases().find { it.label == s.displayName } if (phrase) { location.helloHome.execute(phrase.label) }