Skip to content

Commit

Permalink
v2.2.2
Browse files Browse the repository at this point in the history
## [Version 2.2.2](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v2.2.2) (2022-10-22)

## What's Changed

- Changed from `allowPushOn` and `allowPushOff` configs to `disablePushOn` and `disablePushOff` config, so default is to push changes.
  - Removed `disable_power` config in favor of `disablePushOn` and `disablePushOff` config settings.
- Fixed Issue where IR Devices commands wouldn't send commands. [#551](#551), [#553](#553), [#545](#545)
- Issue where plugin would continue to crash homebridge. [#547](#547)
- Fix for node-switchbot showing not installed.
- Housekeeping and updated dependencies.

**Full Changelog**: v2.2.1....v2.2.2
  • Loading branch information
donavanbecker committed Oct 22, 2022
1 parent 2282654 commit 5cf6631
Show file tree
Hide file tree
Showing 15 changed files with 668 additions and 765 deletions.
10 changes: 7 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,18 @@

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

## [Version 2.2.2](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v2.2.2) (2022-10-20)
## [Version 2.2.2](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v2.2.2) (2022-10-22)

## What's Changed

- Removed `disable_power` config in favor of `allowPushOn` and `allowPushOff` config settings.
- Changed from `allowPushOn` and `allowPushOff` configs to `disablePushOn` and `disablePushOff` config, so default is to push changes.
- Removed `disable_power` config in favor of `disablePushOn` and `disablePushOff` config settings.
- Fixed Issue where IR Devices commands wouldn't send commands. [#551](https://github.com/OpenWonderLabs/homebridge-switchbot/issues/551), [#553](https://github.com/OpenWonderLabs/homebridge-switchbot/issues/553), [#545](https://github.com/OpenWonderLabs/homebridge-switchbot/issues/545)
- Issue where plugin would continue to crash homebridge. [#547](https://github.com/OpenWonderLabs/homebridge-switchbot/issues/547)
- Fix for node-switchbot showing not installed.
- Housekeeping and updated dependencies.

**Full Changelog**: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v2.2....v2.2.2
**Full Changelog**: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v2.2.1....v2.2.2

## [Version 2.2.1](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v2.2.1) (2022-10-18)

Expand Down
20 changes: 9 additions & 11 deletions config.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -783,32 +783,30 @@
}
},
"customOn": {
"title": "Custom On Command",
"title": "Custom <em class='primary-text'> On </em> Command",
"type": "string",
"placeholder": "On",
"condition": {
"functionBody": "return (model.options && model.options.irdevices && model.options.irdevices[arrayIndices].deviceId && !model.options.irdevices[arrayIndices].hide_device && model.options.irdevices[arrayIndices].configRemoteType && model.options.irdevices[arrayIndices].customize);"
}
},
"customOff": {
"title": "Custom Off Command",
"title": "Custom <em class='primary-text'> Off </em> Command",
"type": "string",
"placeholder": "Off",
"condition": {
"functionBody": "return (model.options && model.options.irdevices && model.options.irdevices[arrayIndices].deviceId && !model.options.irdevices[arrayIndices].hide_device && model.options.irdevices[arrayIndices].configRemoteType && model.options.irdevices[arrayIndices].customize);"
}
},
"allowPushOn": {
"title": "Allow On 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.",
"disablePushOn": {
"title": "Disable Sending <em class='primary-text'> On </em> Command",
"type": "boolean",
"condition": {
"functionBody": "return (model.options && model.options.irdevices && model.options.irdevices[arrayIndices].deviceId && !model.options.irdevices[arrayIndices].hide_device && model.options.irdevices[arrayIndices].configRemoteType);"
}
},
"allowPushOff": {
"title": "Allow Off 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.",
"disablePushOff": {
"title": "Disable Sending <em class='primary-text'> Off </em> Command",
"type": "boolean",
"condition": {
"functionBody": "return (model.options && model.options.irdevices && model.options.irdevices[arrayIndices].deviceId && !model.options.irdevices[arrayIndices].hide_device && model.options.irdevices[arrayIndices].configRemoteType);"
Expand Down Expand Up @@ -1055,18 +1053,18 @@
"options.irdevices[].hide_device",
"options.irdevices[].configRemoteType",
"options.irdevices[].connectionType",
"options.irdevices[].other.deviceType",
"options.irdevices[].customize",
"options.irdevices[].customOn",
"options.irdevices[].customOff",
"options.irdevices[].allowPushOn",
"options.irdevices[].allowPushOff",
"options.irdevices[].disablePushOn",
"options.irdevices[].disablePushOff",
"options.irdevices[].irair.hide_automode",
"options.irdevices[].irfan.rotation_speed",
"options.irdevices[].irfan.swing_mode",
"options.irdevices[].irfan.set_minStep",
"options.irdevices[].irfan.set_min",
"options.irdevices[].irfan.set_max",
"options.irdevices[].other.deviceType",
"options.irdevices[].firmware",
"options.irdevices[].external",
"options.irdevices[].logging"
Expand Down
Loading

0 comments on commit 5cf6631

Please sign in to comment.