Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion Quirky-Aros-Device.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,13 @@ def off() {

def uninstalled() {
log.debug "Executing 'uninstall' in child"
parent.uninstallChildDevice(this)
try {
if (parent) {
parent.uninstallChildDevice(this)
}
} catch (e) {
logger.warn "Exception in Quirky Aros uninstall: $e"
}
}

def poll() {
Expand Down
12 changes: 7 additions & 5 deletions Quirky-Connect-Service-Manager.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -447,11 +447,13 @@ def uninstalled()
{
log.debug "In uninstalled"

removeWinkSubscriptions()

removeChildDevices(getChildDevices())

unschedule()
try {
removeWinkSubscriptions()
removeChildDevices(getChildDevices())
unschedule()
} catch (e) {
logger.warn "Exception: Quirky Service Manager uninstall: $e"
}
}

def removeWinkSubscriptions()
Expand Down
8 changes: 7 additions & 1 deletion Quirky-Eggtray-Device.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,13 @@ def eggReport() {

def uninstalled() {
log.debug "Executing 'uninstall' in child"
parent.uninstallChildDevice(this)
try {
if (parent) {
parent.uninstallChildDevice(this)
}
} catch (e) {
logger.warn "Exception in Quirky Eggtray uninstall: $e"
}
}

def poll() {
Expand Down
8 changes: 7 additions & 1 deletion Quirky-Nimbus-Device.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,13 @@ def parse(description) {

def uninstalled() {
log.debug "Executing 'uninstall' in child"
parent.uninstallChildDevice(this)
try {
if (parent) {
parent.uninstallChildDevice(this)
}
} catch (e) {
logger.warn "Exception in Quirky Nimbus uninstall: $e"
}
}

def poll() {
Expand Down
8 changes: 7 additions & 1 deletion Quirky-Pivot-Power-Genius-Device.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,13 @@ def off() {

def uninstalled() {
log.debug "Executing 'uninstall' in child"
parent.uninstallChildDevice(this)
try {
if (parent) {
parent.uninstallChildDevice(this)
}
} catch (e) {
logger.warn "Exception in Quirky Power Genuis uninstall: $e"
}
}

def poll() {
Expand Down
10 changes: 8 additions & 2 deletions Quirky-Porkfolio-Device.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,14 @@ def parse(description) {
}

def uninstalled() {
log.debug "Executing 'uninstall' in child"
parent.uninstallChildDevice(this)
log.debug "Executing 'uninstall' in child"
try {
if (parent) {
parent.uninstallChildDevice(this)
}
} catch (e) {
logger.warn "Exception in Quirky Porkfolio uninstall: $e"
}
}

def poll() {
Expand Down
8 changes: 7 additions & 1 deletion Quirky-Refuel-Device.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,13 @@ def parse(String description) {

def uninstalled() {
log.debug "Executing 'uninstall' in child"
parent.uninstallChildDevice(this)
try {
if (parent) {
parent.uninstallChildDevice(this)
}
} catch (e) {
logger.warn "Exception in Quirky Refuel uninstall: $e"
}
}

def poll() {
Expand Down
8 changes: 7 additions & 1 deletion Quirky-Spotter-Device.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,13 @@ def parse(description) {

def uninstalled() {
log.debug "Executing 'uninstall' in child"
parent.uninstallChildDevice(this)
try {
if (parent) {
parent.uninstallChildDevice(this)
}
} catch (e) {
logger.warn "Exception in Quirky Spotter uninstall: $e"
}
}

def poll() {
Expand Down