From 260917d515b61f5e33d9ee349fef765018cc733a Mon Sep 17 00:00:00 2001 From: Juan Pablo Risso Date: Mon, 19 Sep 2016 14:01:33 -0400 Subject: [PATCH] MKTP-829 - Moving disclaimer to first page (#1261) --- .../logitech-harmony-connect.groovy | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/smartapps/smartthings/logitech-harmony-connect.src/logitech-harmony-connect.groovy b/smartapps/smartthings/logitech-harmony-connect.src/logitech-harmony-connect.groovy index 726c109..b7084c3 100644 --- a/smartapps/smartthings/logitech-harmony-connect.src/logitech-harmony-connect.groovy +++ b/smartapps/smartthings/logitech-harmony-connect.src/logitech-harmony-connect.groovy @@ -102,7 +102,8 @@ def authPage() { description = "Click to enter Harmony Credentials" def redirectUrl = buildRedirectUrl return dynamicPage(name: "Credentials", title: "Harmony", nextPage: null, uninstall: true, install:false) { - section { href url:redirectUrl, style:"embedded", required:true, title:"Harmony", description:description } + section { paragraph title: "Note:", "This device has not been officially tested and certified to “Work with SmartThings”. You can connect it to your SmartThings home but performance may vary and we will not be able to provide support or assistance." } + section { href url:redirectUrl, style:"embedded", required:true, title:"Harmony", description:description } } } else { //device discovery request every 5 //25 seconds @@ -119,7 +120,6 @@ def authPage() { discoverDevices() } return dynamicPage(name:"Credentials", title:"Discovery Started!", nextPage:"", refreshInterval:refreshInterval, install:true, uninstall: true) { - section { paragraph title: "Note:", "This device has not been officially tested and certified to “Work with SmartThings”. You can connect it to your SmartThings home but performance may vary and we will not be able to provide support or assistance." } section("Please wait while we discover your Harmony Hubs and Activities. Discovery can take five minutes or more, so sit back and relax! Select your device below once discovered.") { input "selectedhubs", "enum", required:false, title:"Select Harmony Hubs (${numFoundHub} found)", multiple:true, options:huboptions } @@ -315,8 +315,6 @@ def installed() { } def updated() { - unsubscribe() - unschedule() if (!state.accessToken) { log.debug "About to create access token" createAccessToken()