Merge pull request #1731 from tpmanley/bugfix/motion-reporting

DVCSMP-2484 smartsense-motion-sensor: fix motion event reporting for some devices
This commit is contained in:
Vinay Rao
2017-03-01 09:37:00 -08:00
committed by GitHub

View File

@@ -108,8 +108,8 @@ def parse(String description) {
}
} else if (descMap.clusterInt == 0x0406 && descMap.attrInt == 0x0000) {
def value = descMap.value.endsWith("01") ? "active" : "inactive"
log.warn "Doing a read attr motion event"
resultMap = getMotionResult(value)
log.debug "Doing a read attr motion event"
map = getMotionResult(value)
}
}
}