X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=official%2Fsingle-button-controller.groovy;h=781aa8b431dc6a50cfd38625218b7e3bb0c66329;hb=c4bf81474ad318f70d14df9934d242c281df139b;hp=1d65e23a5b483f07600b5d0795c9f9e046cbd576;hpb=3325c1b0cc49b9fbbc497cb3612f7aeff5263eca;p=smartapps.git diff --git a/official/single-button-controller.groovy b/official/single-button-controller.groovy index 1d65e23..781aa8b 100755 --- a/official/single-button-controller.groovy +++ b/official/single-button-controller.groovy @@ -26,7 +26,7 @@ preferences { } def selectButton() { - dynamicPage(name: "selectButton", title: "First, select your button device", install: true, uninstall: configured()) { + dynamicPage(name: "selectButton", title: "First, select your button device", install: true) { section { input "buttonDevice", "device.aeonKeyFob", title: "Button", multiple: false, required: true } @@ -138,7 +138,7 @@ def toggle(devices) { devices.lock() } else { - devices.on() + //devices.on()(It could be lock!! And lock does not have on method!) } }