From b284400d334f3e839cc17d6983f6182012077194 Mon Sep 17 00:00:00 2001 From: Rahmadi Trimananda Date: Thu, 15 Aug 2019 08:48:20 -0700 Subject: [PATCH] Update Switches.groovy --- third-party/Switches.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) } -- 2.34.1