Skip to content

Commit

Permalink
Fix for clockwise is undefined error
Browse files Browse the repository at this point in the history
Fixes #306
  • Loading branch information
kiwi-cam authored Apr 30, 2021
1 parent 8e0b35e commit 4e97568
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions accessories/fanv1.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ class Fanv1Accessory extends FanAccessory {
setMethod: this.setCharacteristicValue,
bind: this,
props: {
onData: counterClockwise,
offData: clockwise,
onData: config.counterClockwise,
offData: config.clockwise,
setValuePromise: this.performSend.bind(this)
}
});
Expand Down

0 comments on commit 4e97568

Please sign in to comment.