Update double-tap.groovy
[smartapps.git] / official / single-button-controller.groovy
index 1d65e23a5b483f07600b5d0795c9f9e046cbd576..781aa8b431dc6a50cfd38625218b7e3bb0c66329 100755 (executable)
@@ -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!)
        }
 }