mirror of
https://github.com/mtan93/SmartThingsPublic.git
synced 2026-04-10 22:05:07 +01:00
DVCSMP-2493 Notify Multi-Channel Control app when root device is deleted
This commit is contained in:
@@ -75,6 +75,10 @@ def parse(String description) {
|
|||||||
return result
|
return result
|
||||||
}
|
}
|
||||||
|
|
||||||
|
def uninstalled() {
|
||||||
|
sendEvent(name: "epEvent", value: "delete all", isStateChange: true, displayed: false, descriptionText: "Delete endpoint devices")
|
||||||
|
}
|
||||||
|
|
||||||
def zwaveEvent(physicalgraph.zwave.commands.wakeupv1.WakeUpNotification cmd) {
|
def zwaveEvent(physicalgraph.zwave.commands.wakeupv1.WakeUpNotification cmd) {
|
||||||
[ createEvent(descriptionText: "${device.displayName} woke up", isStateChange:true),
|
[ createEvent(descriptionText: "${device.displayName} woke up", isStateChange:true),
|
||||||
response(["delay 2000", zwave.wakeUpV1.wakeUpNoMoreInformation().format()]) ]
|
response(["delay 2000", zwave.wakeUpV1.wakeUpNoMoreInformation().format()]) ]
|
||||||
|
|||||||
Reference in New Issue
Block a user