mirror of
https://github.com/mtan93/SmartThingsPublic.git
synced 2026-03-08 05:31:56 +00:00
fixed wrong subscription based on code review comment
This commit is contained in:
@@ -29,7 +29,7 @@ def installed() {
|
||||
|
||||
def updated() {
|
||||
unsubscribe()
|
||||
subscribe(switch1, "switch.off", switchOffHandler)
|
||||
subscribe(contact1, "contact", contactHandler)
|
||||
}
|
||||
|
||||
def contactHandler(evt) {
|
||||
|
||||
Reference in New Issue
Block a user