X-Git-Url: http://plrg.eecs.uci.edu/git/?p=smartapps.git;a=blobdiff_plain;f=third-party%2Floft.groovy;h=776e3316ef99dbb55a072c6795d472519050c367;hp=7b1368e711dd4c807ffc6317725f9cb15ad0a81f;hb=6d01492c6aab5d15371a767c136fb5ac01a20691;hpb=bb6f6515ec1f4b2d17283970a9b2562b43a28bb1 diff --git a/third-party/loft.groovy b/third-party/loft.groovy index 7b1368e..776e331 100755 --- a/third-party/loft.groovy +++ b/third-party/loft.groovy @@ -215,14 +215,14 @@ def eventHandler1(evt) { def changeMode(mode) { //voice?.speak("changing mode to ${mode}") setLocationMode(mode) - eventHandler([ + eventHandler1([ displayName: "changeMode", value: mode ]) } def tick() { - eventHandler([ + eventHandler1([ displayName: "tick", value: "tock" ])