Skip to content

Commit

Permalink
v2.13.0 (#878)
Browse files Browse the repository at this point in the history
## [Version 2.13.0](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v2.13.0) (2023-12-04)

## What's Changed

- Add support for turning on `WoSweeperMini`, also known as `SwitchBot Mini Robot Vacuum K10+`
- Housekeeping and updated dependencies.

**Full Changelog**: v2.12.1...v2.13.0
donavanbecker authored Dec 4, 2023
1 parent 7d54594 commit 31aa2c1
Showing 5 changed files with 115 additions and 113 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -2,6 +2,15 @@

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

## [Version 2.13.0](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v2.13.0) (2023-12-04)

## What's Changed

- Add support for turning on `WoSweeperMini`, also known as `SwitchBot Mini Robot Vacuum K10+`
- Housekeeping and updated dependencies.

**Full Changelog**: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v2.12.1...v2.13.0

## [Version 2.12.1](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v2.12.1) (2023-11-26)

## What's Changed
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -114,8 +114,9 @@
- If using OpenAPI:
- [SwitchBot Hub Mini](https://www.switch-bot.com/products/switchbot-hub-mini) or [SwitchBot Hub 2](https://us.switch-bot.com/pages/switchbot-hub-2) Required
- Enable Cloud Services for Device on SwitchBot App
- [SwitchBot Robot Vacuum Cleaner S1](https://www.switchbot.jp/products/switchbot-robot-vacuum-cleaner)
- [SwitchBot Robot Vacuum Cleaner S1 Plus](https://www.switchbot.jp/products/switchbot-robot-vacuum-cleaner)
- US: [SwitchBot Mini Robot Vacuum K10+](https://www.switch-bot.com/products/switchbot-mini-robot-vacuum-k10)
- JP: [SwitchBot Robot Vacuum Cleaner S1](https://www.switchbot.jp/products/switchbot-robot-vacuum-cleaner)
- JP: [SwitchBot Robot Vacuum Cleaner S1 Plus](https://www.switchbot.jp/products/switchbot-robot-vacuum-cleaner)
- Supports OpenAPI Connection Only
- [SwitchBot Plug](https://www.switch-bot.com/products/switchbot-plug)
- [SwitchBot Plug Mini (US)](https://www.switch-bot.com/products/switchbot-plug-mini)
197 changes: 94 additions & 103 deletions package-lock.json
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"displayName": "SwitchBot",
"name": "@switchbot/homebridge-switchbot",
"version": "2.12.1",
"version": "2.13.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 <support@wondertechlabs.com> (https://github.com/SwitchBot)",
"license": "ISC",
@@ -24,7 +24,7 @@
"lint": "eslint src/**.ts",
"watch": "npm run build && npm link && nodemon",
"build": "rimraf ./dist && tsc",
"prepublishOnly": "npm run update && npm run lint && npm run build",
"prepublishOnly": "npm run lint && npm run build",
"postpublish": "npm run clean",
"clean": "rimraf ./dist",
"test": "eslint src/**.ts"
@@ -61,20 +61,20 @@
"fakegato-history": "^0.6.4",
"homebridge-lib": "^6.7.1",
"rxjs": "^7.8.1",
"undici": "^5.28.0"
"undici": "^5.28.2"
},
"optionalDependencies": {
"node-switchbot": "^1.9.1",
"@abandonware/noble": "^1.9.2-23",
"@abandonware/bluetooth-hci-socket": "^0.5.3-10"
},
"devDependencies": {
"@types/node": "^20.10.0",
"@typescript-eslint/eslint-plugin": "^6.12.0",
"@typescript-eslint/parser": "^6.12.0",
"eslint": "^8.54.0",
"@types/node": "^20.10.3",
"@typescript-eslint/eslint-plugin": "^6.13.2",
"@typescript-eslint/parser": "^6.13.2",
"eslint": "^8.55.0",
"homebridge": "^1.7.0",
"nodemon": "^3.0.1",
"nodemon": "^3.0.2",
"npm-check-updates": "^16.14.11",
"rimraf": "^5.0.5",
"ts-node": "^10.9.1",
1 change: 1 addition & 0 deletions src/platform.ts
Original file line number Diff line number Diff line change
@@ -673,6 +673,7 @@ export class SwitchBotPlatform implements DynamicPlatformPlugin {
this.debugLog(`Discovered ${device.deviceType}: ${device.deviceId}`);
this.createColorBulb(device);
break;
case 'WoSweeperMini':
case 'Robot Vacuum Cleaner S1':
case 'Robot Vacuum Cleaner S1 Plus':
this.debugLog(`Discovered ${device.deviceType}: ${device.deviceId}`);

0 comments on commit 31aa2c1

Please sign in to comment.