Skip to content

Commit

Permalink
v1.6.0 (#175)
Browse files Browse the repository at this point in the history
## [Version 1.6.0](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.6.0) (2021-12-31)

## What's Changed
* Added `scanDuration` config option to set how long BLE scans, Scanning Duration is defaulted to 1 second.
* Now Setting `switch` as the default bot mode for Bots, to change to press, config must be set under `SwitchBot Device Settings` in the Plugin Settings.
* Fixed Bug: Contact Sensor talks about Curtain Light + Motion Sensor. [#164](#164)
* Fixed Bug: Reboot causes No Device Type Set Error. [#172](#172)
* Fixed Bug: Bot Status not working Correction with Switch and Press. [#105](#105), [#130](#130), [#132](#132), [#165](#165), [#174](#174)
* Fixed some issues with the New Logging Options release with v1.5.0, now logging when configured.

**Full Changelog**: v1.5.0...v1.6.0
  • Loading branch information
donavanbecker authored Dec 31, 2021
1 parent 3c713a4 commit a54b7db
Show file tree
Hide file tree
Showing 23 changed files with 580 additions and 291 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@

All notable changes to this project will be documented in this file. This project uses [Semantic Versioning](https://semver.org/)

## [Version 1.6.0](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.6.0) (2021-12-31)

## What's Changed
* Added `scanDuration` config option to set how long BLE scans, Scanning Duration is defaulted to 1 second.
* Now Setting `switch` as the default bot mode for Bots, to change to press, config must be set under `SwitchBot Device Settings` in the Plugin Settings.
* Fixed Bug: Contact Sensor talks about Curtain Light + Motion Sensor. [#164](https://github.com/OpenWonderLabs/homebridge-switchbot/issues/164)
* Fixed Bug: Reboot causes No Device Type Set Error. [#172](https://github.com/OpenWonderLabs/homebridge-switchbot/issues/172)
* Fixed Bug: Bot Status not working Correction with Switch and Press. [#105](https://github.com/OpenWonderLabs/homebridge-switchbot/issues/105), [#130](https://github.com/OpenWonderLabs/homebridge-switchbot/issues/130), [#132](https://github.com/OpenWonderLabs/homebridge-switchbot/issues/132), [#165](https://github.com/OpenWonderLabs/homebridge-switchbot/issues/165), [#174](https://github.com/OpenWonderLabs/homebridge-switchbot/issues/174)
* Fixed some issues with the New Logging Options release with v1.5.0, now logging when configured.

**Full Changelog**: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v1.5.0...v1.6.0

## [Version 1.5.0](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.5.0) (2021-12-27)

## What's Changed
Expand Down
22 changes: 20 additions & 2 deletions config.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,14 @@
"functionBody": "return (model.options && model.options.devices && model.options.devices[arrayIndices].deviceId && !model.options.devices[arrayIndices].hide_device);"
}
},
"scanDuration": {
"title": "Scan Duration (Default is 1 Second)",
"type": "number",
"placeholder": 1,
"condition": {
"functionBody": "return (model.options && model.options.devices && model.options.devices[arrayIndices].deviceId && !model.options.devices[arrayIndices].hide_device && model.options.devices[arrayIndices].ble);"
}
},
"bot": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -185,6 +193,14 @@
"condition": {
"functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && model.options.devices[arrayIndices].configDeviceType === 'Bot' && model.options.devices[arrayIndices].deviceId && model.options.devices[arrayIndices].bot && model.options.devices[arrayIndices].bot.mode);"
}
},
"doublePress": {
"title": "Do you want to similate a double press?",
"type": "number",
"placeholder": "2",
"condition": {
"functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && model.options.devices[arrayIndices].configDeviceType === 'Bot' && model.options.devices[arrayIndices].deviceId && model.options.devices[arrayIndices].bot && model.options.devices[arrayIndices].bot.mode);"
}
}
}
},
Expand Down Expand Up @@ -303,14 +319,14 @@
"type": "object",
"properties": {
"hide_lightsensor": {
"title": "Hide Curtains's Light Sensor",
"title": "Hide Contact Sensor's Light Sensor",
"type": "boolean",
"condition": {
"functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && model.options.devices[arrayIndices].configDeviceType === 'Contact Sensor' && model.options.devices[arrayIndices].deviceId);"
}
},
"hide_motionsensor": {
"title": "Hide Curtains's Motion Sensor",
"title": "Hide Contact Sensor's Motion Sensor",
"type": "boolean",
"condition": {
"functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && model.options.devices[arrayIndices].configDeviceType === 'Contact Sensor' && model.options.devices[arrayIndices].deviceId);"
Expand Down Expand Up @@ -774,9 +790,11 @@
"options.devices[].hide_device",
"options.devices[].offline",
"options.devices[].ble",
"options.devices[].scanDuration",
"options.devices[].configDeviceType",
"options.devices[].bot.mode",
"options.devices[].bot.deviceType",
"options.devices[].bot.doublePress",
"options.devices[].meter.hide_temperature",
"options.devices[].meter.hide_humidity",
"options.devices[].humidifier.set_minStep",
Expand Down
Loading

0 comments on commit a54b7db

Please sign in to comment.