Changing remote branch to PLRG Git server.
[smartapps.git] / official / 01-control-lights-and-locks-with-contact-sensor.groovy
index d4e95ece7d34444cb2391055c615f725b69bdf0e..83f8a4522fbca3a40acb0c9a20396076316ff6e1 100644 (file)
@@ -13,6 +13,7 @@
  *  for the specific language governing permissions and limitations under the License.
  *
  */
+
 definition(
     name: "Example: Control a switch and lock with a contact sensor",
     namespace: "com.smarthings.developers",
@@ -50,7 +51,6 @@ 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
     subscribe(contact, "contact.open", openHandler)
     subscribe(contact, "contact.closed", closedHandler)
 }