mirror of
https://github.com/mtan93/SmartThingsPublic.git
synced 2026-03-24 21:04:00 +00:00
hotfix for level jumping issues
This commit is contained in:
@@ -81,7 +81,10 @@ def parse(String description) {
|
||||
def finalResult = zigbee.getEvent(description)
|
||||
if (finalResult) {
|
||||
log.debug finalResult
|
||||
sendEvent(finalResult)
|
||||
if (finalResult.name=="level" && finalResult.value==0) {}
|
||||
else {
|
||||
sendEvent(finalResult)
|
||||
}
|
||||
}
|
||||
else {
|
||||
def zigbeeMap = zigbee.parseDescriptionAsMap(description)
|
||||
|
||||
Reference in New Issue
Block a user