mirror of
https://github.com/mtan93/SmartThingsPublic.git
synced 2026-03-17 05:10:50 +00:00
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:
@@ -108,8 +108,8 @@ def parse(String description) {
|
|||||||
}
|
}
|
||||||
} else if (descMap.clusterInt == 0x0406 && descMap.attrInt == 0x0000) {
|
} else if (descMap.clusterInt == 0x0406 && descMap.attrInt == 0x0000) {
|
||||||
def value = descMap.value.endsWith("01") ? "active" : "inactive"
|
def value = descMap.value.endsWith("01") ? "active" : "inactive"
|
||||||
log.warn "Doing a read attr motion event"
|
log.debug "Doing a read attr motion event"
|
||||||
resultMap = getMotionResult(value)
|
map = getMotionResult(value)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user