Skip to content

Commit

Permalink
Colours the same as all DH's
Browse files Browse the repository at this point in the history
  • Loading branch information
tmleafs authored Jan 30, 2018
1 parent eb4edf5 commit 096d589
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions devicetypes/bspranger/xiaomi-button.src/xiaomi-button.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,9 @@ metadata {
valueTile("battery", "device.battery", decoration: "flat", inactiveLabel: false, width: 2, height: 2) {
state "default", label:'${currentValue}%', unit:"",
backgroundColors:[
[value: 0, color: "#c0392b"],
[value: 25, color: "#f1c40f"],
[value: 50, color: "#e67e22"],
[value: 75, color: "#27ae60"]
[value: 10, color: "#bc2323"],
[value: 26, color: "#f1d801"],
[value: 51, color: "#44b621"]
]
}
valueTile("lastcheckin", "device.lastCheckin", decoration: "flat", inactiveLabel: false, width: 4, height: 1) {
Expand Down

0 comments on commit 096d589

Please sign in to comment.