projects
/
smartapps.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Update Switches.groovy
[smartapps.git]
/
third-party
/
Switches.groovy
diff --git
a/third-party/Switches.groovy
b/third-party/Switches.groovy
index 645fa432a7a8cec807ffc29b5295d96505c7146d..52549f2b284629208ae4f7aad8e6b4eca1189c59 100755
(executable)
--- a/
third-party/Switches.groovy
+++ b/
third-party/Switches.groovy
@@
-52,6
+52,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
if (phrase) {
location.helloHome.execute(phrase.label)
}