mirror of
https://github.com/mtan93/SmartThingsPublic.git
synced 2026-05-12 22:07:11 +01:00
Handling the power issues via configuring
This commit is contained in:
+2
-1
@@ -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") {
|
||||
|
||||
Reference in New Issue
Block a user