From 22b48c5f16389497c5b4eef2dde5050f3591fe64 Mon Sep 17 00:00:00 2001 From: zhangjinkang Date: Wed, 11 Jul 2018 04:15:12 -0400 Subject: [PATCH] parse IAS zone status as heart beat event . --- .../orvibo-gas-detector.src/Orvibo-Gas-detector.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devicetypes/smartthings/orvibo-gas-detector.src/Orvibo-Gas-detector.groovy b/devicetypes/smartthings/orvibo-gas-detector.src/Orvibo-Gas-detector.groovy index 81773cb0972..edcb219a225 100644 --- a/devicetypes/smartthings/orvibo-gas-detector.src/Orvibo-Gas-detector.groovy +++ b/devicetypes/smartthings/orvibo-gas-detector.src/Orvibo-Gas-detector.groovy @@ -64,7 +64,7 @@ def parse(String description) { }else if(description?.startsWith('read attr')){ map = parseAlarmMessage(description) }else{ - map = [:] + map = zigbee.parseDescriptionAsMap(description) } } log.debug "Parse returned $map"