Skip to content

Commit

Permalink
Fix typo on toInteger zigbee dimmer power
Browse files Browse the repository at this point in the history
  • Loading branch information
varzac committed Feb 3, 2017
1 parent 1800ea2 commit e019d22
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 e019d22

Please sign in to comment.