fixed wrong subscription based on code review comment

This commit is contained in:
David Sainte-Claire
2016-08-16 11:46:47 -07:00
parent 90384d0852
commit 0d4a00ae2b

View File

@@ -29,7 +29,7 @@ def installed() {
def updated() { def updated() {
unsubscribe() unsubscribe()
subscribe(switch1, "switch.off", switchOffHandler) subscribe(contact1, "contact", contactHandler)
} }
def contactHandler(evt) { def contactHandler(evt) {