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 7099bcbf984d6daa60a5843846d22a815bbd1237..d4e95ece7d34444cb2391055c615f725b69bdf0e 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)
 }