@switchbot/homebridge-switchbot 2.5.0 → 2.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. This project uses [Semantic Versioning](https://semver.org/)
4
4
 
5
+ ## [Version 2.5.1](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v2.5.1) (2023-01-28)
6
+
7
+ ## What's Changed
8
+
9
+ - Fix Blind Tilt Config.
10
+
11
+ **Full Changelog**: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v2.5.0....v2.5.1
12
+
5
13
  ## [Version 2.5.0](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v2.5.0) (2023-01-28)
6
14
 
7
15
  ## What's Changed
@@ -476,17 +476,17 @@
476
476
  ],
477
477
  "description": "Defines how the Home app sliders control the blind tilt.",
478
478
  "condition": {
479
- "functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && model.options.devices[arrayIndices].configDeviceType === 'BlindTilt' && model.options.devices[arrayIndices].deviceId);"
479
+ "functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && model.options.devices[arrayIndices].configDeviceType === 'Blind Tilt' && model.options.devices[arrayIndices].deviceId);"
480
480
  }
481
481
  },
482
482
  "updateRate": {
483
- "title": "Curtain Update Rate",
483
+ "title": "Blind Tilt Update Rate",
484
484
  "type": "number",
485
485
  "minimum": 1,
486
486
  "placeholder": 5,
487
- "description": "Indicates the number of seconds before refreshing Curtain status while updating slide progress.",
487
+ "description": "Indicates the number of seconds before refreshing Blind Tilt status while updating slide progress.",
488
488
  "condition": {
489
- "functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && model.options.devices[arrayIndices].configDeviceType === 'Curtain' && model.options.devices[arrayIndices].deviceId);"
489
+ "functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && model.options.devices[arrayIndices].configDeviceType === 'Blind Tilt' && model.options.devices[arrayIndices].deviceId);"
490
490
  }
491
491
  }
492
492
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "displayName": "Homebridge SwitchBot",
3
3
  "name": "@switchbot/homebridge-switchbot",
4
- "version": "2.5.0",
4
+ "version": "2.5.1",
5
5
  "description": "The [Homebridge](https://homebridge.io) SwitchBot plugin allows you to access your [SwitchBot](https://www.switch-bot.com) device(s) from HomeKit.",
6
6
  "author": "SwitchBot <support@wondertechlabs.com> (https://github.com/SwitchBot)",
7
7
  "license": "ISC",