Update 01-control-lights-and-locks-with-contact-sensor.groovy
authorRahmadi Trimananda <rahmadi.trimananda@uci.edu>
Wed, 7 Aug 2019 20:57:36 +0000 (13:57 -0700)
committerGitHub Enterprise <noreply@github.uci.edu>
Wed, 7 Aug 2019 20:57:36 +0000 (13:57 -0700)
official/01-control-lights-and-locks-with-contact-sensor.groovy

index 7099bcb..d4e95ec 100644 (file)
@@ -50,7 +50,7 @@ def updated() {
 
 // This function is where you initialize callbacks for event listeners
 def initialize() {
-    // The subscribe function takes a input, a state, and a callback method
+    // The subscribe-function takes a input, a state, and a callback method
     subscribe(contact, "contact.open", openHandler)
     subscribe(contact, "contact.closed", closedHandler)
 }