Add back canChangeIcon to device types

This commit is contained in:
Matt Nohr
2015-08-25 21:04:34 -05:00
parent df9a3b1343
commit 9b67f4f894
3 changed files with 3 additions and 3 deletions

View File

@@ -33,7 +33,7 @@ metadata {
// UI tile definitions
tiles(scale: 2) {
multiAttributeTile(name:"switch", type: "lighting", width: 6, height: 4){
multiAttributeTile(name:"switch", type: "lighting", width: 6, height: 4, canChangeIcon: true){
tileAttribute ("device.switch", key: "PRIMARY_CONTROL") {
attributeState "off", label: '${name}', action: "switch.on", icon: "st.switches.switch.off", backgroundColor: "#ffffff"
attributeState "on", label: '${name}', action: "switch.off", icon: "st.switches.switch.on", backgroundColor: "#79b821"