[DVCSMP-2438] Standardize Page 1 of DTH UX Improvements

This commit is contained in:
piyush.c
2017-02-20 15:35:27 +05:30
parent 2a3c393534
commit 0d4b681971
6 changed files with 28 additions and 28 deletions

View File

@@ -53,15 +53,15 @@ metadata {
tiles {
standardTile("inventory", "device.inventory", width: 2, height: 2){
state "goodEggs", label : " ", unit : "" , icon:"st.quirky.egg-minder.quirky-egg-device", backgroundColor: "#53a7c0"
state "haveBadEgg", label : " ", unit : "" , icon:"st.quirky.egg-minder.quirky-egg-device", backgroundColor: "#FF1919"
state "goodEggs", label : " ", unit : "" , icon:"st.quirky.egg-minder.quirky-egg-device", backgroundColor: "#00A0DC"
state "haveBadEgg", label : " ", unit : "" , icon:"st.quirky.egg-minder.quirky-egg-device", backgroundColor: "#e86d13"
state "noEggs", label : " ", unit : "" , icon:"st.quirky.egg-minder.quirky-egg-device", backgroundColor: "#ffffff"
}
standardTile("totalEggs", "device.totalEggs", inactiveLabel: false){
state "totalEggs", label : '${currentValue}', unit : "" , icon:"st.quirky.egg-minder.quirky-egg-count", backgroundColor: "#53a7c0"
}
standardTile("freshEggs", "device.freshEggs", inactiveLabel: false){
state "freshEggs", label : '${currentValue}', unit : "" , icon:"st.quirky.egg-minder.quirky-egg-fresh", backgroundColor: "#53a7c0"
state "freshEggs", label : '${currentValue}', unit : "" , icon:"st.quirky.egg-minder.quirky-egg-fresh", backgroundColor: "#00A0DC"
}
standardTile("oldEggs", "device.oldEggs", inactiveLabel: false){
state "oldEggs", label : '${currentValue}', unit : "" , icon:"st.quirky.egg-minder.quirky-egg-expired", backgroundColor: "#53a7c0"

View File

@@ -54,8 +54,8 @@ metadata {
tiles {
standardTile("acceleration", "device.acceleration", width: 2, height: 2, canChangeIcon: true) {
state "active", label:'active', icon:"st.motion.acceleration.active", backgroundColor:"#53a7c0"
state "inactive", label:'inactive', icon:"st.motion.acceleration.inactive", backgroundColor:"#ffffff"
state "active", label:'active', icon:"st.motion.acceleration.active", backgroundColor:"#00A0DC"
state "inactive", label:'inactive', icon:"st.motion.acceleration.inactive", backgroundColor:"#cccccc"
}
valueTile("temperature", "device.temperature", canChangeIcon: false)
{
@@ -75,11 +75,11 @@ metadata {
state "humidity", label:'${currentValue}% RH', unit:""
}
standardTile("sound", "device.sound", inactiveLabel: false) {
state "active", label: "noise", unit:"", icon: "st.alarm.beep.beep", backgroundColor: "#53a7c0"
state "inactive", label: "quiet", unit:"", icon: "st.alarm.beep.beep", backgroundColor: "#ffffff"
state "active", label: "noise", unit:"", icon: "st.alarm.beep.beep", backgroundColor: "#00A0DC"
state "inactive", label: "quiet", unit:"", icon: "st.alarm.beep.beep", backgroundColor: "#cccccc"
}
standardTile("light", "device.light", inactiveLabel: false, canChangeIcon: true) {
state "active", label: "light", unit:"", icon: "st.illuminance.illuminance.bright", backgroundColor: "#53a7c0"
state "active", label: "light", unit:"", icon: "st.illuminance.illuminance.bright", backgroundColor: "#00A0DC"
state "inactive", label: "dark", unit:"", icon: "st.illuminance.illuminance.dark", backgroundColor: "#B2B2B2"
}
valueTile("battery", "device.battery", decoration: "flat", inactiveLabel: false, canChangeIcon: false) {