From fe5a965f6fa146eeefdf42137916db8e1edd5910 Mon Sep 17 00:00:00 2001
From: "piyush.c"
Date: Tue, 28 Feb 2017 19:07:03 +0530
Subject: [PATCH] [DVCSMP-2444] Standardize Page 5 of DTH UX Improvements
---
.../on-off-button-tile.src/on-off-button-tile.groovy | 2 +-
.../open-closed-sensor.src/open-closed-sensor.groovy | 4 ++--
devicetypes/smartthings/spark.src/spark.groovy | 2 +-
.../simulated-contact-sensor.groovy | 4 ++--
.../testing/simulated-lock.src/simulated-lock.groovy | 2 +-
.../simulated-motion-sensor.groovy | 4 ++--
.../simulated-presence-sensor.groovy | 2 +-
.../simulated-water-sensor.src/simulated-water-sensor.groovy | 2 +-
.../simulated-water-valve.src/simulated-water-valve.groovy | 4 ++--
.../quirky-wink-porkfolio.src/quirky-wink-porkfolio.groovy | 4 ++--
10 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/devicetypes/smartthings/on-off-button-tile.src/on-off-button-tile.groovy b/devicetypes/smartthings/on-off-button-tile.src/on-off-button-tile.groovy
index 59b82bf..ec86e5a 100644
--- a/devicetypes/smartthings/on-off-button-tile.src/on-off-button-tile.groovy
+++ b/devicetypes/smartthings/on-off-button-tile.src/on-off-button-tile.groovy
@@ -31,7 +31,7 @@ metadata {
tiles {
standardTile("button", "device.switch", width: 2, height: 2, canChangeIcon: true) {
state "off", label: 'Off', action: "switch.on", icon: "st.switches.switch.off", backgroundColor: "#ffffff", nextState: "on"
- state "on", label: 'On', action: "switch.off", icon: "st.switches.switch.on", backgroundColor: "#79b821", nextState: "off"
+ state "on", label: 'On', action: "switch.off", icon: "st.switches.switch.on", backgroundColor: "#00A0DC", nextState: "off"
}
main "button"
details "button"
diff --git a/devicetypes/smartthings/open-closed-sensor.src/open-closed-sensor.groovy b/devicetypes/smartthings/open-closed-sensor.src/open-closed-sensor.groovy
index 6c2e42e..8883096 100644
--- a/devicetypes/smartthings/open-closed-sensor.src/open-closed-sensor.groovy
+++ b/devicetypes/smartthings/open-closed-sensor.src/open-closed-sensor.groovy
@@ -29,8 +29,8 @@ metadata {
// UI tile definitions
tiles {
standardTile("contact", "device.contact", width: 2, height: 2) {
- state "open", label: '${name}', icon: "st.contact.contact.open", backgroundColor: "#ffa81e"
- state "closed", label: '${name}', icon: "st.contact.contact.closed", backgroundColor: "#79b821"
+ state "open", label: '${name}', icon: "st.contact.contact.open", backgroundColor: "#e86d13"
+ state "closed", label: '${name}', icon: "st.contact.contact.closed", backgroundColor: "#00A0DC"
}
main "contact"
diff --git a/devicetypes/smartthings/spark.src/spark.groovy b/devicetypes/smartthings/spark.src/spark.groovy
index 3f74ce4..84e08d5 100644
--- a/devicetypes/smartthings/spark.src/spark.groovy
+++ b/devicetypes/smartthings/spark.src/spark.groovy
@@ -20,7 +20,7 @@ metadata {
// tile definitions
tiles {
standardTile("switch", "device.switch", width: 2, height: 2, canChangeIcon: true) {
- state "on", label: '${name}', action: "switch.off", icon: "st.switches.switch.on", backgroundColor: "#79b821"
+ state "on", label: '${name}', action: "switch.off", icon: "st.switches.switch.on", backgroundColor: "#00A0DC"
state "off", label: '${name}', action: "switch.on", icon: "st.switches.switch.off", backgroundColor: "#ffffff"
}
diff --git a/devicetypes/smartthings/testing/simulated-contact-sensor.src/simulated-contact-sensor.groovy b/devicetypes/smartthings/testing/simulated-contact-sensor.src/simulated-contact-sensor.groovy
index 0c520e8..5fa041e 100644
--- a/devicetypes/smartthings/testing/simulated-contact-sensor.src/simulated-contact-sensor.groovy
+++ b/devicetypes/smartthings/testing/simulated-contact-sensor.src/simulated-contact-sensor.groovy
@@ -28,8 +28,8 @@ metadata {
tiles {
standardTile("contact", "device.contact", width: 2, height: 2) {
- state("closed", label:'${name}', icon:"st.contact.contact.closed", backgroundColor:"#79b821", action: "open")
- state("open", label:'${name}', icon:"st.contact.contact.open", backgroundColor:"#ffa81e", action: "close")
+ state("closed", label:'${name}', icon:"st.contact.contact.closed", backgroundColor:"#00A0DC", action: "open")
+ state("open", label:'${name}', icon:"st.contact.contact.open", backgroundColor:"#e86d13", action: "close")
}
main "contact"
details "contact"
diff --git a/devicetypes/smartthings/testing/simulated-lock.src/simulated-lock.groovy b/devicetypes/smartthings/testing/simulated-lock.src/simulated-lock.groovy
index 59e6e0d..775abbb 100644
--- a/devicetypes/smartthings/testing/simulated-lock.src/simulated-lock.groovy
+++ b/devicetypes/smartthings/testing/simulated-lock.src/simulated-lock.groovy
@@ -23,7 +23,7 @@ metadata {
tiles {
standardTile("toggle", "device.lock", width: 2, height: 2) {
state "unlocked", label:'unlocked', action:"lock.lock", icon:"st.locks.lock.unlocked", backgroundColor:"#ffffff"
- state "locked", label:'locked', action:"lock.unlock", icon:"st.locks.lock.locked", backgroundColor:"#79b821"
+ state "locked", label:'locked', action:"lock.unlock", icon:"st.locks.lock.locked", backgroundColor:"#00A0DC"
}
standardTile("lock", "device.lock", inactiveLabel: false, decoration: "flat") {
state "default", label:'lock', action:"lock.lock", icon:"st.locks.lock.locked"
diff --git a/devicetypes/smartthings/testing/simulated-motion-sensor.src/simulated-motion-sensor.groovy b/devicetypes/smartthings/testing/simulated-motion-sensor.src/simulated-motion-sensor.groovy
index cf5a773..3776ab5 100644
--- a/devicetypes/smartthings/testing/simulated-motion-sensor.src/simulated-motion-sensor.groovy
+++ b/devicetypes/smartthings/testing/simulated-motion-sensor.src/simulated-motion-sensor.groovy
@@ -28,8 +28,8 @@ metadata {
tiles {
standardTile("motion", "device.motion", width: 2, height: 2) {
- state("inactive", label:'no motion', icon:"st.motion.motion.inactive", backgroundColor:"#ffffff", action: "active")
- state("active", label:'motion', icon:"st.motion.motion.active", backgroundColor:"#53a7c0", action: "inactive")
+ state("inactive", label:'no motion', icon:"st.motion.motion.inactive", backgroundColor:"#cccccc", action: "active")
+ state("active", label:'motion', icon:"st.motion.motion.active", backgroundColor:"#00A0DC", action: "inactive")
}
main "motion"
details "motion"
diff --git a/devicetypes/smartthings/testing/simulated-presence-sensor.src/simulated-presence-sensor.groovy b/devicetypes/smartthings/testing/simulated-presence-sensor.src/simulated-presence-sensor.groovy
index 389122a..b7ef6ca 100644
--- a/devicetypes/smartthings/testing/simulated-presence-sensor.src/simulated-presence-sensor.groovy
+++ b/devicetypes/smartthings/testing/simulated-presence-sensor.src/simulated-presence-sensor.groovy
@@ -29,7 +29,7 @@ metadata {
tiles {
standardTile("presence", "device.presence", width: 2, height: 2, canChangeBackground: true) {
state("not present", label:'not present', icon:"st.presence.tile.not-present", backgroundColor:"#ffffff", action:"arrived")
- state("present", label:'present', icon:"st.presence.tile.present", backgroundColor:"#53a7c0", action:"departed")
+ state("present", label:'present', icon:"st.presence.tile.present", backgroundColor:"#00A0DC", action:"departed")
}
main "presence"
details "presence"
diff --git a/devicetypes/smartthings/testing/simulated-water-sensor.src/simulated-water-sensor.groovy b/devicetypes/smartthings/testing/simulated-water-sensor.src/simulated-water-sensor.groovy
index 4998447..b36aa67 100644
--- a/devicetypes/smartthings/testing/simulated-water-sensor.src/simulated-water-sensor.groovy
+++ b/devicetypes/smartthings/testing/simulated-water-sensor.src/simulated-water-sensor.groovy
@@ -29,7 +29,7 @@ metadata {
tiles {
standardTile("water", "device.water", width: 2, height: 2) {
state "dry", icon:"st.alarm.water.dry", backgroundColor:"#ffffff", action: "wet"
- state "wet", icon:"st.alarm.water.wet", backgroundColor:"#53a7c0", action: "dry"
+ state "wet", icon:"st.alarm.water.wet", backgroundColor:"#00A0DC", action: "dry"
}
standardTile("wet", "device.water", inactiveLabel: false, decoration: "flat") {
state "default", label:'Wet', action:"wet", icon: "st.alarm.water.wet"
diff --git a/devicetypes/smartthings/testing/simulated-water-valve.src/simulated-water-valve.groovy b/devicetypes/smartthings/testing/simulated-water-valve.src/simulated-water-valve.groovy
index 478d7f6..f767a8c 100644
--- a/devicetypes/smartthings/testing/simulated-water-valve.src/simulated-water-valve.groovy
+++ b/devicetypes/smartthings/testing/simulated-water-valve.src/simulated-water-valve.groovy
@@ -21,8 +21,8 @@ metadata {
// tile definitions
tiles {
standardTile("contact", "device.contact", width: 2, height: 2, canChangeIcon: true) {
- state "closed", label: '${name}', action: "valve.open", icon: "st.valves.water.closed", backgroundColor: "#e86d13"
- state "open", label: '${name}', action: "valve.close", icon: "st.valves.water.open", backgroundColor: "#53a7c0"
+ state "closed", label: '${name}', action: "valve.open", icon: "st.valves.water.closed", backgroundColor: "#ffffff"
+ state "open", label: '${name}', action: "valve.close", icon: "st.valves.water.open", backgroundColor: "#00A0DC"
}
standardTile("refresh", "device.switch", inactiveLabel: false, decoration: "flat") {
state "default", label:'', action:"refresh.refresh", icon:"st.secondary.refresh"
diff --git a/devicetypes/wackford/quirky-wink-porkfolio.src/quirky-wink-porkfolio.groovy b/devicetypes/wackford/quirky-wink-porkfolio.src/quirky-wink-porkfolio.groovy
index 8bf827b..4765be9 100644
--- a/devicetypes/wackford/quirky-wink-porkfolio.src/quirky-wink-porkfolio.groovy
+++ b/devicetypes/wackford/quirky-wink-porkfolio.src/quirky-wink-porkfolio.groovy
@@ -45,8 +45,8 @@ metadata {
tiles {
standardTile("acceleration", "device.acceleration", width: 2, height: 2, canChangeIcon: true) {
- state "inactive", label:'pig secure', icon:"st.motion.acceleration.inactive", backgroundColor:"#44b621"
- state "active", label:'pig alarm', icon:"st.motion.acceleration.active", backgroundColor:"#FF1919"
+ state "inactive", label:'pig secure', icon:"st.motion.acceleration.inactive", backgroundColor:"#cccccc"
+ state "active", label:'pig alarm', icon:"st.motion.acceleration.active", backgroundColor:"#00A0DC"
}
standardTile("balance", "device.balance", inactiveLabel: false, canChangeIcon: true) {
state "balance", label:'${currentValue}', unit:"", icon:"st.Food & Dining.dining18"