Update single-button-controller.groovy
authorSeyed Amir Hossein Aqajari <amiraj.95@uci.edu>
Fri, 26 Jul 2019 23:57:59 +0000 (16:57 -0700)
committerGitHub Enterprise <noreply@github.uci.edu>
Fri, 26 Jul 2019 23:57:59 +0000 (16:57 -0700)
official/single-button-controller.groovy

index 459ac6e610d96c60dfacee9adcada100d80f70fe..781aa8b431dc6a50cfd38625218b7e3bb0c66329 100755 (executable)
@@ -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!)
        }
 }