From 583d42df1359c6492bbb77c6a2964973681ffbd2 Mon Sep 17 00:00:00 2001 From: Zach Varberg Date: Tue, 25 Oct 2016 09:10:39 -0500 Subject: [PATCH] Remove read attribute for new mfg code Because of the interaction between the DTH running in the cloud and the one running in appengine, we can't make this change yet as for unupdated devices the humidity gets replaced with null. So we back out the call with the new mfgID as there aren't devices out there yet using it. This relates to: https://smartthings.atlassian.net/browse/DPROT-183 --- .../smartsense-temp-humidity-sensor.groovy | 1 - 1 file changed, 1 deletion(-) diff --git a/devicetypes/smartthings/smartsense-temp-humidity-sensor.src/smartsense-temp-humidity-sensor.groovy b/devicetypes/smartthings/smartsense-temp-humidity-sensor.src/smartsense-temp-humidity-sensor.groovy index 638b9d4..98af1a4 100644 --- a/devicetypes/smartthings/smartsense-temp-humidity-sensor.src/smartsense-temp-humidity-sensor.groovy +++ b/devicetypes/smartthings/smartsense-temp-humidity-sensor.src/smartsense-temp-humidity-sensor.groovy @@ -264,7 +264,6 @@ def refresh() { log.debug "refresh temperature, humidity, and battery" return zigbee.readAttribute(0xFC45, 0x0000, ["mfgCode": 0xC2DF]) + // Original firmware - zigbee.readAttribute(0xFC45, 0x0000, ["mfgCode": 0x104E]) + // New firmware zigbee.readAttribute(0x0402, 0x0000) + zigbee.readAttribute(0x0001, 0x0020) }