Update 01-control-lights-and-locks-with-contact-sensor.groovy
[smartapps.git] / 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)
 }