From: Rahmadi Trimananda Date: Wed, 7 Aug 2019 22:14:04 +0000 (-0700) Subject: Update 01-control-lights-and-locks-with-contact-sensor.groovy X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=8aae8137cf7e96726b4c27621314df0a103e838a;p=smartapps.git 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 d4e95ec..b68afc4 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,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) }