Handling the power issues via configuring

This commit is contained in:
Vinay Rao
2015-08-25 20:57:27 -07:00
parent 91719ba5ca
commit b10308fe5c
2 changed files with 32 additions and 3 deletions

View File

@@ -287,7 +287,8 @@ def isDescriptionPower(descMap) {
def powerValue = "undefined"
if (descMap.cluster == "0B04") {
if (descMap.attrId == "050b") {
powerValue = convertHexToInt(descMap.value)
if(descMap.value!="ffff")
powerValue = convertHexToInt(descMap.value)
}
}
else if (descMap.clusterId == "0B04") {