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 459ac6e..781aa8b 100755 (executable)
@@ -138,7 +138,7 @@ def toggle(devices) {
                devices.lock()
        }
        else {
                devices.lock()
        }
        else {
-               devices.on()
+               //devices.on()(It could be lock!! And lock does not have on method!)
        }
 }
 
        }
 }