Skip to content

Commit

Permalink
Fix for fan.js error
Browse files Browse the repository at this point in the history
  • Loading branch information
lprhodes committed Feb 11, 2018
1 parent 8e3abeb commit 32e8bec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion accessories/fan.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class FanAccessory extends BroadlinkRMAccessory {
getServices () {
const services = super.getServices();
const { config, data, name } = this;
let { showSwingMode, showV1Fan, showV2Fan } = config;
let { showSwingMode, showRotationDirection, showV1Fan, showV2Fan } = config;
const { on, off, swingToggle } = data;

if (showV2Fan !== false) showV2Fan = true
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "homebridge-broadlink-rm",
"version": "2.6.4",
"version": "2.6.5",
"description": "Broadlink RM plugin (including the mini and pro) for homebridge: https://github.com/nfarina/homebridge",
"license": "ISC",
"keywords": [
Expand Down

0 comments on commit 32e8bec

Please sign in to comment.