Changing remote branch to PLRG Git server.
[smartapps.git] / third-party / Switches.groovy
index 9629299765561421ead1ae0662fcd52a01433979..52549f2b284629208ae4f7aad8e6b4eca1189c59 100755 (executable)
@@ -51,7 +51,8 @@ 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 }
+  def phrase
   if (phrase) {
     location.helloHome.execute(phrase.label)
   }