From 6ceb50fd78f3a93897c620ae8a41da5b8639487d Mon Sep 17 00:00:00 2001 From: ericvitale Date: Fri, 3 Aug 2018 15:56:02 -0400 Subject: [PATCH] Updated on indicator color to match ST standard Changed the "on" indicator color to the standard ST blue. #00a0dc --- .../blebson/iris-smart-plug.src/iris-smart-plug.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/devicetypes/blebson/iris-smart-plug.src/iris-smart-plug.groovy b/devicetypes/blebson/iris-smart-plug.src/iris-smart-plug.groovy index f429f4b..e6b6308 100644 --- a/devicetypes/blebson/iris-smart-plug.src/iris-smart-plug.groovy +++ b/devicetypes/blebson/iris-smart-plug.src/iris-smart-plug.groovy @@ -71,9 +71,9 @@ metadata { tiles(scale: 2) { multiAttributeTile(name:"switch", type: "lighting", width: 6, height: 4, canChangeIcon: true){ tileAttribute ("device.switch", key: "PRIMARY_CONTROL") { - attributeState "on", label: '${name}', action: "switch.off", icon: "st.switches.switch.on", backgroundColor: "#79b821", nextState: "turningOff" + attributeState "on", label: '${name}', action: "switch.off", icon: "st.switches.switch.on", backgroundColor: "#00a0dc", nextState: "turningOff" attributeState "off", label: '${name}', action: "switch.on", icon: "st.switches.switch.off", backgroundColor: "#ffffff", nextState: "turningOn" - attributeState "turningOn", label: '${name}', action: "switch.off", icon: "st.switches.switch.on", backgroundColor: "#79b821", nextState: "turningOff" + attributeState "turningOn", label: '${name}', action: "switch.off", icon: "st.switches.switch.on", backgroundColor: "#00a0dc", nextState: "turningOff" attributeState "turningOff", label: '${name}', action: "switch.on", icon: "st.switches.switch.off", backgroundColor: "#ffffff", nextState: "turningOn" } tileAttribute ("power", key: "SECONDARY_CONTROL") {