From 048eb77e64ab5ec96af4ff51cd6dc9a64560a4a8 Mon Sep 17 00:00:00 2001 From: Vinay Rao Date: Tue, 30 Aug 2016 16:46:10 -0700 Subject: [PATCH] fixes SSVD-2632 The Device Details Recently tab does not log any activity regarding OSRAM Lightify RGWB bulb color change --- .../smartthings/zigbee-rgbw-bulb.src/zigbee-rgbw-bulb.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/devicetypes/smartthings/zigbee-rgbw-bulb.src/zigbee-rgbw-bulb.groovy b/devicetypes/smartthings/zigbee-rgbw-bulb.src/zigbee-rgbw-bulb.groovy index 9be662c..e7137b6 100644 --- a/devicetypes/smartthings/zigbee-rgbw-bulb.src/zigbee-rgbw-bulb.groovy +++ b/devicetypes/smartthings/zigbee-rgbw-bulb.src/zigbee-rgbw-bulb.groovy @@ -106,11 +106,11 @@ def parse(String description) { if (zigbeeMap?.clusterInt == COLOR_CONTROL_CLUSTER) { if(zigbeeMap.attrInt == ATTRIBUTE_HUE){ //Hue Attribute def hueValue = Math.round(zigbee.convertHexToInt(zigbeeMap.value) / 255 * 360) - sendEvent(name: "hue", value: hueValue, displayed:false) + sendEvent(name: "hue", value: hueValue, descriptionText: "Color has changed") } else if(zigbeeMap.attrInt == ATTRIBUTE_SATURATION){ //Saturation Attribute def saturationValue = Math.round(zigbee.convertHexToInt(zigbeeMap.value) / 255 * 100) - sendEvent(name: "saturation", value: saturationValue, displayed:false) + sendEvent(name: "saturation", value: saturationValue, descriptionText: "Color has changed", displayed: false) } } else {