From 9538df65e554ee3128f3c58e4e394b51931ff6bc Mon Sep 17 00:00:00 2001 From: Vinay Rao Date: Mon, 12 Oct 2015 10:52:53 -0700 Subject: [PATCH] [DVCSMP-1164] Sensor name not shown During acceleration events, the sensor name is not shown. --- .../smartsense-multi-sensor.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/devicetypes/smartthings/smartsense-multi-sensor.src/smartsense-multi-sensor.groovy b/devicetypes/smartthings/smartsense-multi-sensor.src/smartsense-multi-sensor.groovy index 3bfda82..8d614c3 100644 --- a/devicetypes/smartthings/smartsense-multi-sensor.src/smartsense-multi-sensor.groovy +++ b/devicetypes/smartthings/smartsense-multi-sensor.src/smartsense-multi-sensor.groovy @@ -346,8 +346,8 @@ def getTemperature(value) { log.debug "Acceleration" def name = "acceleration" def value = numValue.endsWith("1") ? "active" : "inactive" - //def linkText = getLinkText(device) - def descriptionText = "was $value" + def linkText = getLinkText(device) + def descriptionText = "$linkText was $value" def isStateChange = isStateChange(device, name, value) [ name: name,