From: Rahmadi Trimananda Date: Wed, 7 Aug 2019 20:57:36 +0000 (-0700) Subject: Update 01-control-lights-and-locks-with-contact-sensor.groovy X-Git-Url: http://plrg.eecs.uci.edu/git/?p=smartapps.git;a=commitdiff_plain;h=086312644b51c483f7f627ababb33ce9d0db1551 Update 01-control-lights-and-locks-with-contact-sensor.groovy --- diff --git a/official/01-control-lights-and-locks-with-contact-sensor.groovy b/official/01-control-lights-and-locks-with-contact-sensor.groovy index 7099bcb..d4e95ec 100644 --- a/official/01-control-lights-and-locks-with-contact-sensor.groovy +++ b/official/01-control-lights-and-locks-with-contact-sensor.groovy @@ -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) }