diff --git a/accessories/fanv1.js b/accessories/fanv1.js index cbfcb92f..79c684ef 100644 --- a/accessories/fanv1.js +++ b/accessories/fanv1.js @@ -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) } });