Skip to content

Commit

Permalink
Merge pull request SmartThingsCommunity#1644 from varzac/fix-zigbee-d…
Browse files Browse the repository at this point in the history
…immer-set-level

DPROT-238 Fix typo on toInteger zigbee dimmer power
  • Loading branch information
workingmonk authored Feb 4, 2017
2 parents 900ab9f + e019d22 commit d91c02b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def on() {
}

def setLevel(value) {
zigbee.setLevel(value) + (value?.ToInteger() > 0 ? zigbee.on() : [])
zigbee.setLevel(value) + (value?.toInteger() > 0 ? zigbee.on() : [])
}

/**
Expand Down

0 comments on commit d91c02b

Please sign in to comment.