From 661f8b3bc057dbff830014b9dd978407d3b965a9 Mon Sep 17 00:00:00 2001 From: Yaima Valdivia Date: Mon, 23 Nov 2015 11:22:57 -0800 Subject: [PATCH] WeMo uninstall not available https://smartthings.atlassian.net/browse/DVCSMP-1208 --- smartapps/smartthings/wemo-connect.src/wemo-connect.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smartapps/smartthings/wemo-connect.src/wemo-connect.groovy b/smartapps/smartthings/wemo-connect.src/wemo-connect.groovy index 4827af6..1f12c15 100644 --- a/smartapps/smartthings/wemo-connect.src/wemo-connect.groovy +++ b/smartapps/smartthings/wemo-connect.src/wemo-connect.groovy @@ -78,7 +78,7 @@ def firstPage() def motionsDiscovered = motionsDiscovered() def lightSwitchesDiscovered = lightSwitchesDiscovered() - return dynamicPage(name:"firstPage", title:"Discovery Started!", nextPage:"", refreshInterval: refreshInterval, install:true, uninstall: selectedSwitches != null || selectedMotions != null || selectedLightSwitches != null) { + return dynamicPage(name:"firstPage", title:"Discovery Started!", nextPage:"", refreshInterval: refreshInterval, install:true, uninstall: true) { section("Select a device...") { input "selectedSwitches", "enum", required:false, title:"Select Wemo Switches \n(${switchesDiscovered.size() ?: 0} found)", multiple:true, options:switchesDiscovered input "selectedMotions", "enum", required:false, title:"Select Wemo Motions \n(${motionsDiscovered.size() ?: 0} found)", multiple:true, options:motionsDiscovered