diff --git a/accessories/fan.js b/accessories/fan.js index fe83dded..2fa9bd74 100644 --- a/accessories/fan.js +++ b/accessories/fan.js @@ -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 diff --git a/package.json b/package.json index 51a75688..eea18eaa 100644 --- a/package.json +++ b/package.json @@ -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": [