From 086312644b51c483f7f627ababb33ce9d0db1551 Mon Sep 17 00:00:00 2001 From: Rahmadi Trimananda Date: Wed, 7 Aug 2019 13:57:36 -0700 Subject: [PATCH] Update 01-control-lights-and-locks-with-contact-sensor.groovy --- official/01-control-lights-and-locks-with-contact-sensor.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) } -- 2.34.1