Skip to content

Commit

Permalink
v1.11.0 (#228)
Browse files Browse the repository at this point in the history
## [Version 1.11.0](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.11.0) (2022-01-29)

## What's Changed
* Add Support for SwitchBot Smart Lock
* Add Support for SwitchBot Strip Light
* Add Support for SwitchBot Meter Plus (US)
* Add Support for SwitchBot Meter Plus (JP)
* Add Support for SwitchBot Plug Mini (US)
* Add Support for SwitchBot Plug Mini (US)
* Fixed: Curtain `set_min` and `set_max` options not work correctly with minimum and maximum curtain state. [#123](#123)
* Housekeeping and updated dependencies.

**Full Changelog**: v1.10.1...v1.11.0
  • Loading branch information
donavanbecker authored Jan 29, 2022
1 parent 907d037 commit 90aa6df
Show file tree
Hide file tree
Showing 25 changed files with 1,113 additions and 526 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,20 @@

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

## [Version 1.11.0](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.11.0) (2022-01-29)

## What's Changed
* Add Support for SwitchBot Smart Lock
* Add Support for SwitchBot Strip Light
* Add Support for SwitchBot Meter Plus (US)
* Add Support for SwitchBot Meter Plus (JP)
* Add Support for SwitchBot Plug Mini (US)
* Add Support for SwitchBot Plug Mini (US)
* Fixed: Curtain `set_min` and `set_max` options not work correctly with minimum and maximum curtain state. [#123](https://github.com/OpenWonderLabs/homebridge-switchbot/issues/123)
* Housekeeping and updated dependencies.

**Full Changelog**: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v1.10.1...v1.11.0

## [Version 1.10.1](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.10.1) (2022-01-26)

## What's Changed
Expand Down
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ plugin allows you to access your SwitchBot Device(s) from HomeKit with
- Can Push Updates over OpenAPI
- Can Receive Udpates over BLE and OpenAPI
- [SwitchBot Meter](https://www.switch-bot.com/products/switchbot-meter)
- [SwitchBot Meter Plus (US)](https://www.switch-bot.com/products/switchbot-meter-plus)
- [SwitchBot Meter Plus (JP)](https://www.switchbot.jp/products/switchbot-meter-plus)
- Supports OpenAPI & Bluetooth Low Energy (BLE) Connections
- If using OpenAPI:
- [SwitchBot Hub Mini](https://www.switch-bot.com/products/switchbot-hub-mini) or [SwitchBot Hub Plus](https://www.switch-bot.com/products/switchbot-hub-plus) Required
Expand Down Expand Up @@ -88,6 +90,14 @@ plugin allows you to access your SwitchBot Device(s) from HomeKit with
- Must supply `deviceId` & `deviceName` to Device Config
- Check `Enable Bluetooth Low Energy (BLE) Connection` on Device Config
- [SwitchBot Bulb](https://www.switch-bot.com/products/switchbot-color-bulb)
- [SwitchBot Light Strip](https://www.switch-bot.com/products/switchbot-light-strip)
- Supports OpenAPI Connection Only
- If using OpenAPI:
- [SwitchBot Hub Mini](https://www.switch-bot.com/products/switchbot-hub-mini) or [SwitchBot Hub Plus](https://www.switch-bot.com/products/switchbot-hub-plus) Required
- Enable Cloud Services for Device on SwitchBot App
- [SwitchBot Plug](https://www.switch-bot.com/products/switchbot-plug)
- [SwitchBot Plug Mini (US)](https://www.switch-bot.com/products/switchbot-plug-mini)
- [SwitchBot Plug Mini (JP)](https://www.switchbot.jp/products/switchbot-plug-mini)
- Supports OpenAPI Connection Only
- If using OpenAPI:
- [SwitchBot Hub Mini](https://www.switch-bot.com/products/switchbot-hub-mini) or [SwitchBot Hub Plus](https://www.switch-bot.com/products/switchbot-hub-plus) Required
Expand Down
49 changes: 49 additions & 0 deletions config.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,42 @@
"enum": [
"Smart Fan"
]
},
{
"title": "Smart Lock",
"enum": [
"Smart Lock"
]
},
{
"title": "Strip Light",
"enum": [
"Strip Light"
]
},
{
"title": "Meter Plus (US)",
"enum": [
"Meter Plus (US)"
]
},
{
"title": "Meter Plus (JP)",
"enum": [
"Meter Plus (JP)"
]
},
{
"title": "Plug Mini (US)",
"enum": [
"Plug Mini (US)"
]
},
{
"title": "Plug Mini (JP)",
"enum": [
"Plug Mini (JP)"
]
}
],
"condition": {
Expand Down Expand Up @@ -457,6 +493,18 @@
}
}
},
"lock": {
"type": "object",
"properties": {
"hide_contactsensor": {
"title": "Hide Lock's Contact Sensor",
"type": "boolean",
"condition": {
"functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && model.options.devices[arrayIndices].configDeviceType === 'Smart Lock' && model.options.devices[arrayIndices].deviceId);"
}
}
}
},
"refreshRate": {
"title": "Device Refresh Rate",
"type": "number",
Expand Down Expand Up @@ -938,6 +986,7 @@
"options.devices[].motion.set_maxlux",
"options.devices[].colorbulb.set_minStep",
"options.devices[].colorbulb.adaptiveLightingShift",
"options.devices[].lock.hide_contactsensor",
"options.devices[].refreshRate",
"options.devices[].logging"
]
Expand Down
44 changes: 22 additions & 22 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"displayName": "Homebridge SwitchBot",
"name": "@switchbot/homebridge-switchbot",
"version": "1.10.1",
"version": "1.11.0",
"description": "The [Homebridge](https://homebridge.io) SwitchBot plugin allows you to access your [SwitchBot](https://www.switch-bot.com) device(s) from HomeKit.",
"author": "SwitchBot <[email protected]> (https://github.com/SwitchBot)",
"license": "ISC",
Expand Down Expand Up @@ -59,10 +59,10 @@
"rxjs": "^7.5.2"
},
"devDependencies": {
"@types/node": "^17.0.12",
"@types/node": "^17.0.13",
"@typescript-eslint/eslint-plugin": "^5.10.1",
"@typescript-eslint/parser": "^5.10.1",
"eslint": "^8.7.0",
"eslint": "^8.8.0",
"eslint-config-prettier": "8.3.0",
"eslint-plugin-prettier": "4.0.0",
"homebridge": "^1.4.0",
Expand Down
Loading

0 comments on commit 90aa6df

Please sign in to comment.