Skip to content

Commit

Permalink
updated protect Ok color to match ST standard
Browse files Browse the repository at this point in the history
  • Loading branch information
tonesto7 committed Jun 9, 2017
1 parent 1b8e343 commit 7105e33
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions devicetypes/tonesto7/nest-protect.src/nest-protect.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -56,23 +56,23 @@ metadata {
multiAttributeTile(name:"alarmState", type:"generic", width:6, height:4) {
tileAttribute("device.alarmState", key: "PRIMARY_CONTROL") {
attributeState("default", label:'--', icon: "st.unknown.unknown.unknown")
attributeState("ok", label:"clear", icon:"st.alarm.smoke.clear", backgroundColor:"#44B621")
attributeState("ok", label:"clear", icon:"st.alarm.smoke.clear", backgroundColor:"#00a0dc")
attributeState("smoke-warning", label:"SMOKE!\nWARNING", icon:"st.alarm.smoke.smoke", backgroundColor:"#e8d813")
attributeState("smoke-emergency", label:"SMOKE!", icon:"st.alarm.smoke.smoke", backgroundColor:"#e86d13")
attributeState("co-warning", label:"CO!\nWARNING!", icon:"st.alarm.carbon-monoxide.carbon-monoxide", backgroundColor:"#e8d813")
attributeState("co-emergency", label:"CO!", icon:"st.alarm.carbon-monoxide.carbon-monoxide", backgroundColor:"#e86d13")
}
tileAttribute("device.batteryState", key: "SECONDARY_CONTROL") {
attributeState("default", label:'unknown', icon: "st.unknown.unknown.unknown")
attributeState("ok", label: "Battery: OK", backgroundColor: "#44B621",
attributeState("ok", label: "Battery: OK", backgroundColor: "#00a0dc",
icon: "https://raw.githubusercontent.com/tonesto7/nest-manager/master/Images/Devices/battery_ok_v.png")
attributeState("replace", label: "Battery: REPLACE!", backgroundColor: "#e86d13",
icon: "https://raw.githubusercontent.com/tonesto7/nest-manager/master/Images/Devices/battery_low_v.png")
}
}
standardTile("main2", "device.alarmState", width: 2, height: 2) {
state("default", label:'--', icon: "st.unknown.unknown.unknown")
state("ok", label:"clear", backgroundColor:"#44B621",
state("ok", label:"clear", backgroundColor:"#00a0dc",
icon:"https://raw.githubusercontent.com/tonesto7/nest-manager/master/Images/Devices/alarm_clear.png")
state("smoke-warning", label:"SMOKE!\nWARNING", backgroundColor:"#e8d813",
icon:"https://raw.githubusercontent.com/tonesto7/nest-manager/master/Images/Devices/smoke_warn.png")
Expand Down

0 comments on commit 7105e33

Please sign in to comment.