From e2ab965e89807bb9fc8ab5f0b4bb5961ac1cb087 Mon Sep 17 00:00:00 2001 From: Nowak Date: Wed, 9 Mar 2016 15:32:22 +0100 Subject: [PATCH] updated initial sensor status (no motion) --- .../fibaro-motion-sensor-zw5.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/devicetypes/fibargroup/fibaro-motion-sensor-zw5.src/fibaro-motion-sensor-zw5.groovy b/devicetypes/fibargroup/fibaro-motion-sensor-zw5.src/fibaro-motion-sensor-zw5.groovy index 69ef3ce..864420f 100644 --- a/devicetypes/fibargroup/fibaro-motion-sensor-zw5.src/fibaro-motion-sensor-zw5.groovy +++ b/devicetypes/fibargroup/fibaro-motion-sensor-zw5.src/fibaro-motion-sensor-zw5.groovy @@ -33,8 +33,8 @@ metadata { tiles(scale: 2) { multiAttributeTile(name:"FGMS", type:"lighting", width:6, height:4) {//with generic type secondary control text is not displayed in Android app tileAttribute("device.motion", key:"PRIMARY_CONTROL") { - attributeState("active", icon:"st.motion.motion.active", backgroundColor:"#ffa81e") - attributeState("inactive", icon:"st.motion.motion.inactive", backgroundColor:"#79b821") + attributeState("inactive", icon:"st.motion.motion.inactive", backgroundColor:"#79b821") + attributeState("active", icon:"st.motion.motion.active", backgroundColor:"#ffa81e") } tileAttribute("device.tamper", key:"SECONDARY_CONTROL") {