Skip to content

Commit

Permalink
v1.9.0 (#209)
Browse files Browse the repository at this point in the history
## [Version 1.9.0](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.9.0) (2022-01-20)

## What's Changed
* Add option `allowPush`, this will allow commands to be sent even if device state is already in state that is being pushed.
* Housekeeping and updated dependencies.

**Full Changelog**: v1.8.2...v1.9.0
  • Loading branch information
donavanbecker authored Jan 20, 2022
1 parent 7ee4a27 commit d7d5dc9
Show file tree
Hide file tree
Showing 8 changed files with 232 additions and 232 deletions.
5 changes: 5 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"recommendations": [
"dbaeumer.vscode-eslint"
]
}
15 changes: 15 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"files.eol": "\n",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"editor.rulers": [
150
],
"eslint.enable": true,
"eslint.workingDirectories": [
{
"mode": "auto"
}
]
}
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

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

## [Version 1.9.0](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.9.0) (2022-01-20)

## What's Changed
* Add option `allowPush`, this will allow commands to be sent even if device state is already in state that is being pushed.
* Housekeeping and updated dependencies.

**Full Changelog**: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v1.8.2...v1.9.0

## [Version 1.8.2](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.8.2) (2022-01-15)

## What's Changed
Expand Down
9 changes: 9 additions & 0 deletions config.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,14 @@
"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);"
}
},
"allowPush": {
"title": "Allow Changes to Be Pushed",
"description": "If set to true, this will allow commands to be sent even if device state is already in state that is being pushed.",
"type": "boolean",
"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",
Expand Down Expand Up @@ -900,6 +908,7 @@
"options.devices[].scanDuration",
"options.devices[].bot.mode",
"options.devices[].bot.deviceType",
"options.devices[].bot.allowPush",
"options.devices[].bot.doublePress",
"options.devices[].meter.hide_temperature",
"options.devices[].meter.hide_humidity",
Expand Down
Loading

0 comments on commit d7d5dc9

Please sign in to comment.