ICP-781 Fixing DTH for valve capability

Making suggested fixes

making fixes

fixing to correctly use createEvent

fixing DTH

Also adding the fortrezz water valve

refactoring a bit

adding back in debug messages

updating ocf device type

adding zigbee water valve

refactor
This commit is contained in:
Dave Hastings
2017-05-16 15:37:49 -05:00
parent eb870e5f31
commit 772cd7005a
3 changed files with 38 additions and 19 deletions

View File

@@ -83,6 +83,9 @@ def parse(String description) {
}
}
sendEvent(event)
//handle valve attribute
event.name = "valve"
sendEvent(event)
}
else {
def descMap = zigbee.parseDescriptionAsMap(description)