diff --git a/CHANGELOG.md b/CHANGELOG.md index 2b6f7be6..93319459 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,14 +2,14 @@ All notable changes to this project will be documented in this file. This project uses [Semantic Versioning](https://semver.org/) -## [3.1.1](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v3.1.1) (2024-02-XX) +## [3.1.1](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v3.1.1) (2024-02-05) ### What's Changed -- Fix BLE connection, Thanks [@dnicolson](https://github.com/dnicolson) [#907](https://github.com/OpenWonderLabs/homebridge-switchbot/pull/907) -- Fix BLE curtain mode, Thanks [@dnicolson](https://github.com/dnicolson) [#908](https://github.com/OpenWonderLabs/homebridge-switchbot/pull/908) -- Fix curtain characteristic warning, Thanks [@dnicolson](https://github.com/dnicolson) [#909](https://github.com/OpenWonderLabs/homebridge-switchbot/pull/909) -- Revert curtain retry functionality, Thanks [@dnicolson](https://github.com/dnicolson) [#911](https://github.com/OpenWonderLabs/homebridge-switchbot/pull/911) -- Code Cleaup, Thanks [@dnicolson](https://github.com/dnicolson) [#910](https://github.com/OpenWonderLabs/homebridge-switchbot/pull/910) [#912](https://github.com/OpenWonderLabs/homebridge-switchbot/pull/912) [#913](https://github.com/OpenWonderLabs/homebridge-switchbot/pull/913) [#917](https://github.com/OpenWonderLabs/homebridge-switchbot/pull/917) +- Fix BLE connection [#907](https://github.com/OpenWonderLabs/homebridge-switchbot/pull/907), Thanks [@dnicolson](https://github.com/dnicolson) +- Fix BLE curtain mode [#908](https://github.com/OpenWonderLabs/homebridge-switchbot/pull/908), Thanks [@dnicolson](https://github.com/dnicolson) +- Fix curtain characteristic warning [#909](https://github.com/OpenWonderLabs/homebridge-switchbot/pull/909), Thanks [@dnicolson](https://github.com/dnicolson) +- Revert curtain retry functionality [#911](https://github.com/OpenWonderLabs/homebridge-switchbot/pull/911), Thanks [@dnicolson](https://github.com/dnicolson) +- Code Cleaup [#910](https://github.com/OpenWonderLabs/homebridge-switchbot/pull/910) [#912](https://github.com/OpenWonderLabs/homebridge-switchbot/pull/912) [#913](https://github.com/OpenWonderLabs/homebridge-switchbot/pull/913) [#917](https://github.com/OpenWonderLabs/homebridge-switchbot/pull/917), Thanks [@dnicolson](https://github.com/dnicolson) - Housekeeping and updated dependencies. **Full Changelog**: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v3.1.0...v3.1.1 @@ -88,7 +88,7 @@ All notable changes to this project will be documented in this file. This projec ### What's Changed -- Added Latch Switch to activate Latch on Lock, Thanks [@quebulm](https://github.com/quebulm) [#859](https://github.com/OpenWonderLabs/homebridge-switchbot/pull/859) +- Added Latch Switch to activate Latch on Lock [#859](https://github.com/OpenWonderLabs/homebridge-switchbot/pull/859), Thanks [@quebulm](https://github.com/quebulm) - Housekeeping and updated dependencies. **Full Changelog**: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v2.10.1...v2.11.0 @@ -106,7 +106,7 @@ All notable changes to this project will be documented in this file. This projec ### What's Changed -- Added webhook event listener for Meter, Meter Plus, & Hub 2, Thanks [@banboobee](https://github.com/banboobee) [#850](https://github.com/OpenWonderLabs/homebridge-switchbot/pull/850) +- Added webhook event listener for Meter, Meter Plus, & Hub 2 [#850](https://github.com/OpenWonderLabs/homebridge-switchbot/pull/850), Thanks [@banboobee](https://github.com/banboobee) - Housekeeping and updated dependencies. **Full Changelog**: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v2.9.2...v2.10.0 @@ -123,7 +123,7 @@ All notable changes to this project will be documented in this file. This projec ### What's Changed -- Fix issue with `FirmwareRevision` causing Homebridge Crash. Fixes [#839](https://github.com/OpenWonderLabs/homebridge-switchbot/discussions/839), [#832](https://github.com/OpenWonderLabs/homebridge-switchbot/issues/832), [#829](https://github.com/OpenWonderLabs/homebridge-switchbot/issues/829), & [#828](https://github.com/OpenWonderLabs/homebridge-switchbot/issues/828) +- Fix issue with `FirmwareRevision` causing Homebridge Crash [#839](https://github.com/OpenWonderLabs/homebridge-switchbot/discussions/839) [#832](https://github.com/OpenWonderLabs/homebridge-switchbot/issues/832) [#829](https://github.com/OpenWonderLabs/homebridge-switchbot/issues/829) [#828](https://github.com/OpenWonderLabs/homebridge-switchbot/issues/828) - Housekeeping and updated dependencies. **Full Changelog**: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v2.9.0...v2.9.1 @@ -161,8 +161,8 @@ All notable changes to this project will be documented in this file. This projec ### What's Changed - Add Hub 2 Light-Level Support. [#776](https://github.com/OpenWonderLabs/homebridge-switchbot/issues/776) -- Enable Meter Battery Level for OpenAPI, Thanks [@mrlt8](https://github.com/mrlt8) [#782](https://github.com/OpenWonderLabs/homebridge-switchbot/pull/782) -- Enable Meter Plus Battery Level for OpenAPI, Thanks [@mrlt8](https://github.com/mrlt8) [#787](https://github.com/OpenWonderLabs/homebridge-switchbot/pull/787) +- Enable Meter Battery Level for OpenAPI [#782](https://github.com/OpenWonderLabs/homebridge-switchbot/pull/782), Thanks [@mrlt8](https://github.com/mrlt8) +- Enable Meter Plus Battery Level for OpenAPI [#787](https://github.com/OpenWonderLabs/homebridge-switchbot/pull/787), Thanks [@mrlt8](https://github.com/mrlt8) - Enable Battery Level and Version for OpenAPI for BlindTilt, Bot, Ceiling Lights, Color Bulb, Contact, Curtain, Hub, Humidifier, Indoor/Outdoor Sensor, Light Strip, Lock, Meter, Meter Plus, Motion , Plug, Plug Mini, & Robot Vacuum Cleaner - Housekeeping and updated dependencies. @@ -172,8 +172,8 @@ All notable changes to this project will be documented in this file. This projec ### What's Changed -- Fixed Hub 2 temperature/humidity data for AC, Thanks [@mrlt8](https://github.com/mrlt8) [#779](https://github.com/OpenWonderLabs/homebridge-switchbot/pull/779) -- Fixed TargetTemperature not being updated in the HomeKit, Thanks [@mrlt8](https://github.com/mrlt8) [#7779](https://github.com/OpenWonderLabs/homebridge-switchbot/pull/779) +- Fixed Hub 2 temperature/humidity data for AC [#779](https://github.com/OpenWonderLabs/homebridge-switchbot/pull/779), Thanks [@mrlt8](https://github.com/mrlt8) +- Fixed TargetTemperature not being updated in the HomeKit [#779](https://github.com/OpenWonderLabs/homebridge-switchbot/pull/779), Thanks [@mrlt8](https://github.com/mrlt8) - Housekeeping and updated dependencies. **Full Changelog**: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v2.7.0...v2.7.1 @@ -183,8 +183,8 @@ All notable changes to this project will be documented in this file. This projec ### What's Changed - Will now log if there are no devices discovered by SwitchBot-API. -- Added the ability to use Temperature from a SwitchBot Meter to be used with an IR Air Conditioner, Thanks [@mrlt8](https://github.com/mrlt8) [#761](https://github.com/OpenWonderLabs/homebridge-switchbot/pull/761) -- Adds the ability to enable EVE history SwitchBot Curtains, Thanks [@banboobee](https://github.com/banboobee) [#766](https://github.com/OpenWonderLabs/homebridge-switchbot/pull/766) +- Added the ability to use Temperature from a SwitchBot Meter to be used with an IR Air Conditioner [#761](https://github.com/OpenWonderLabs/homebridge-switchbot/pull/761), Thanks [@mrlt8](https://github.com/mrlt8) +- Adds the ability to enable EVE history SwitchBot Curtains [#766](https://github.com/OpenWonderLabs/homebridge-switchbot/pull/766), Thanks [@banboobee](https://github.com/banboobee) - Housekeeping and updated dependencies. **Full Changelog**: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v2.6.2...v2.7.0 @@ -202,7 +202,7 @@ All notable changes to this project will be documented in this file. This projec ### What's Changed -- Add Support for [SwitchBot Meter Plus (JP)](https://www.switchbot.jp/products/switchbot-meter-plus), Thanks [@tikuwas](https://github.com/tikuwas) [#642](https://github.com/OpenWonderLabs/homebridge-switchbot/pull/642) +- Add Support for [SwitchBot Meter Plus (JP)](https://www.switchbot.jp/products/switchbot-meter-plus) [#642](https://github.com/OpenWonderLabs/homebridge-switchbot/pull/642), Thanks [@tikuwas](https://github.com/tikuwas) **Full Changelog**: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v2.6.0...v2.6.1 @@ -210,7 +210,7 @@ All notable changes to this project will be documented in this file. This projec ### What's Changed -- Add Support for [SwitchBot Hub 2](https://us.switch-bot.com/pages/switchbot-hub-2) Humidity and Temperature Sensor, Thanks [@alvie](https://github.com/alvie). [#716](https://github.com/OpenWonderLabs/homebridge-switchbot/pull/716) +- Add Support for [SwitchBot Hub 2](https://us.switch-bot.com/pages/switchbot-hub-2) Humidity and Temperature Sensor [#716](https://github.com/OpenWonderLabs/homebridge-switchbot/pull/716), Thanks [@alvie](https://github.com/alvie) - Housekeeping and updated dependencies. **Full Changelog**: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v2.5.3...v2.6.0 @@ -219,10 +219,10 @@ All notable changes to this project will be documented in this file. This projec ### What's Changed -- Removed unneeded async, Thanks [@dnicolson](https://github.com/dnicolson). [#699](https://github.com/OpenWonderLabs/homebridge-switchbot/pull/699) -- Removed inMotion condition, Thanks [@dnicolson](https://github.com/dnicolson). [#703](https://github.com/OpenWonderLabs/homebridge-switchbot/pull/703) -- Fix async method calls, Thanks [@dnicolson](https://github.com/dnicolson). [#690](https://github.com/OpenWonderLabs/homebridge-switchbot/pull/690) -- Improve curtain retry functionality, Thanks [@dnicolson](https://github.com/dnicolson). [#694](https://github.com/OpenWonderLabs/homebridge-switchbot/pull/694) +- Removed unneeded async [#699](https://github.com/OpenWonderLabs/homebridge-switchbot/pull/699), Thanks [@dnicolson](https://github.com/dnicolson) +- Removed inMotion condition [#703](https://github.com/OpenWonderLabs/homebridge-switchbot/pull/703), Thanks [@dnicolson](https://github.com/dnicolson) +- Fix async method calls [#690](https://github.com/OpenWonderLabs/homebridge-switchbot/pull/690), Thanks [@dnicolson](https://github.com/dnicolson) +- Improve curtain retry functionality [#694](https://github.com/OpenWonderLabs/homebridge-switchbot/pull/694), Thanks [@dnicolson](https://github.com/dnicolson) - Add Support for [SwitchBot Indoor/Outdoor Thermo-Hygrometer](https://www.switch-bot.com/products/switchbot-indoor-outdoor-thermo-hygrometer) - Housekeeping and updated dependencies. - This release will end support for Node v14. @@ -233,12 +233,12 @@ All notable changes to this project will be documented in this file. This projec ### What's Changed -- Fixes mappingMode not being read from the config directly, Thanks [@AndreasVerhoeven](https://github.com/AndreasVerhoeven). [#667](https://github.com/OpenWonderLabs/homebridge-switchbot/pull/667) -- Fixes only_up mode in settings configuration, Thanks [@AndreasVerhoeven](https://github.com/AndreasVerhoeven). [#669](https://github.com/OpenWonderLabs/homebridge-switchbot/pull/669) -- Removes runStatus check, fixes some logic, Thanks [@AndreasVerhoeven](https://github.com/AndreasVerhoeven). [#672](https://github.com/OpenWonderLabs/homebridge-switchbot/pull/672) -- Remove unneeded async, Thanks [@dnicolson](https://github.com/dnicolson). [#675](https://github.com/OpenWonderLabs/homebridge-switchbot/pull/675) -- Replace switchbot wait with utility function, Thanks [@dnicolson](https://github.com/dnicolson). [#674](https://github.com/OpenWonderLabs/homebridge-switchbot/pull/674) -- Remove incorrect warning message, Thanks [@dnicolson](https://github.com/dnicolson). [#673](https://github.com/OpenWonderLabs/homebridge-switchbot/pull/673) +- Fixes mappingMode not being read from the config directly [#667](https://github.com/OpenWonderLabs/homebridge-switchbot/pull/667), Thanks [@AndreasVerhoeven](https://github.com/AndreasVerhoeven) +- Fixes only_up mode in settings configuration [#669](https://github.com/OpenWonderLabs/homebridge-switchbot/pull/669), Thanks [@AndreasVerhoeven](https://github.com/AndreasVerhoeven) +- Removes runStatus check, fixes some logic [#672](https://github.com/OpenWonderLabs/homebridge-switchbot/pull/672), Thanks [@AndreasVerhoeven](https://github.com/AndreasVerhoeven) +- Remove unneeded async [#675](https://github.com/OpenWonderLabs/homebridge-switchbot/pull/675), Thanks [@dnicolson](https://github.com/dnicolson) +- Replace switchbot wait with utility function [#674](https://github.com/OpenWonderLabs/homebridge-switchbot/pull/674), Thanks [@dnicolson](https://github.com/dnicolson) +- Remove incorrect warning message [#673](https://github.com/OpenWonderLabs/homebridge-switchbot/pull/673), Thanks [@dnicolson](https://github.com/dnicolson) - Housekeeping and updated dependencies. **Full Changelog**: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v2.5.1...v2.5.2 @@ -255,9 +255,9 @@ All notable changes to this project will be documented in this file. This projec ### What's Changed -- Add Initial Support for Blind Tilt (OpenAPI Only), Thanks [@AndreasVerhoeven](https://github.com/AndreasVerhoeven). [#649](https://github.com/OpenWonderLabs/homebridge-switchbot/issues/649) -- Remove incorrect warning message, Thanks [@dnicolson](https://github.com/dnicolson). [#661](https://github.com/OpenWonderLabs/homebridge-switchbot/pull/661) -- Replace switchbot wait with utility function, Thanks [@dnicolson](https://github.com/dnicolson). [#633](https://github.com/OpenWonderLabs/homebridge-switchbot/pull/633) +- Add Initial Support for Blind Tilt (OpenAPI Only) [#649](https://github.com/OpenWonderLabs/homebridge-switchbot/issues/649), Thanks [@AndreasVerhoeven](https://github.com/AndreasVerhoeven) +- Remove incorrect warning message [#661](https://github.com/OpenWonderLabs/homebridge-switchbot/pull/661), Thanks [@dnicolson](https://github.com/dnicolson) +- Replace switchbot wait with utility function [#633](https://github.com/OpenWonderLabs/homebridge-switchbot/pull/633), Thanks [@dnicolson](https://github.com/dnicolson) - Enhancements to BLE functionality. - Housekeeping and updated dependencies. @@ -267,9 +267,9 @@ All notable changes to this project will be documented in this file. This projec ### What's Changed -- Added a new `Bot` Device Type `Multi-Press`, Thanks [@alvst](https://github.com/alvst). [#628](https://github.com/OpenWonderLabs/homebridge-switchbot/issues/628) -- Added `maxRetry` option for `Curtain`, `Celing Light`, `Celing Light Pro`, `Plug`, `Plug Mini (US)`, `Plug Mini (JP)`, `Robot Vacuum Cleaner S1 Plus`, `Robot Vacuum Cleaner S1`, `Color Bulb`, and `Strip Light` Device Types, Thanks [@dnicolson](https://github.com/dnicolson). [#631](https://github.com/OpenWonderLabs/homebridge-switchbot/issues/631) -- Fix max retry option for `Bot`, `Curtain`, `Celing Light`, `Celing Light Pro`, `Plug`, `Plug Mini (US)`, `Plug Mini (JP)`, `Robot Vacuum Cleaner S1 Plus`, `Robot Vacuum Cleaner S1`, `Color Bulb`, and `Strip Light` Device Types, Thanks [@dnicolson](https://github.com/dnicolson). [#630](https://github.com/OpenWonderLabs/homebridge-switchbot/issues/628) +- Added a new `Bot` Device Type `Multi-Press` [#628](https://github.com/OpenWonderLabs/homebridge-switchbot/issues/628), Thanks [@alvst](https://github.com/alvst) +- Added `maxRetry` option for `Curtain`, `Celing Light`, `Celing Light Pro`, `Plug`, `Plug Mini (US)`, `Plug Mini (JP)`, `Robot Vacuum Cleaner S1 Plus`, `Robot Vacuum Cleaner S1`, `Color Bulb`, and `Strip Light` Device Types [#631](https://github.com/OpenWonderLabs/homebridge-switchbot/issues/631), Thanks [@dnicolson](https://github.com/dnicolson) +- Fix max retry option for `Bot`, `Curtain`, `Celing Light`, `Celing Light Pro`, `Plug`, `Plug Mini (US)`, `Plug Mini (JP)`, `Robot Vacuum Cleaner S1 Plus`, `Robot Vacuum Cleaner S1`, `Color Bulb`, and `Strip Light` Device Types [#630](https://github.com/OpenWonderLabs/homebridge-switchbot/issues/628), Thanks [@dnicolson](https://github.com/dnicolson) - Moved `maxRetry` option from `Bot` level to overall `configDeviceType` level. - **If you had this set for your `Bot` you will have to update this config.** - Housekeeping and updated dependencies. @@ -351,7 +351,7 @@ All notable changes to this project will be documented in this file. This projec ### What's Changed - Fixed issue were `CustomOff` would send incorrect commands. Also Resolves [#409](https://github.com/OpenWonderLabs/homebridge-switchbot/issues/409). -- Fixed issue were IR Commands were not sent from IR Devices, Thanks [@jonzhan](https://github.com/jonzhan). [#520](https://github.com/OpenWonderLabs/homebridge-switchbot/issues/520) +- Fixed issue were IR Commands were not sent from IR Devices [#520](https://github.com/OpenWonderLabs/homebridge-switchbot/issues/520), Thanks [@jonzhan](https://github.com/jonzhan) - Fixed issue with Curtain not refreshing moving status. [#517](https://github.com/OpenWonderLabs/homebridge-switchbot/issues/517) - Fix issue with IR Devices not having a default `ConnectionType`. [#527](https://github.com/OpenWonderLabs/homebridge-switchbot/issues/527) - Housekeeping and updated dependencies. @@ -423,7 +423,7 @@ All notable changes to this project will be documented in this file. This projec ### What's Changed -- Added support for Smart Lock commands over OpenAPI. Thanks [tom-todd](https://github.com/tom-todd) [#382](https://github.com/OpenWonderLabs/homebridge-switchbot/pull/337) & [#387](https://github.com/OpenWonderLabs/homebridge-switchbot/pull/337) +- Added support for Smart Lock commands over OpenAPI [#382](https://github.com/OpenWonderLabs/homebridge-switchbot/pull/337) [#387](https://github.com/OpenWonderLabs/homebridge-switchbot/pull/337), Thanks [tom-todd](https://github.com/tom-todd) - Housekeeping and updated dependencies. **Full Changelog**: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v1.13.0...v1.14.0 @@ -432,8 +432,8 @@ All notable changes to this project will be documented in this file. This projec ### What's Changed -- Added MQTT support for Meter and Curtain devices. Thanks [banboobee](https://github.com/banboobee)[#337](https://github.com/OpenWonderLabs/homebridge-switchbot/pull/337) -- Added Eve history features for meter devices. Thanks [banboobee](https://github.com/banboobee) [#338](https://github.com/OpenWonderLabs/homebridge-switchbot/pull/338) +- Added MQTT support for Meter and Curtain devices [#337](https://github.com/OpenWonderLabs/homebridge-switchbot/pull/337), Thanks [banboobee](https://github.com/banboobee) +- Added Eve history features for meter devices [#338](https://github.com/OpenWonderLabs/homebridge-switchbot/pull/338), Thanks [banboobee](https://github.com/banboobee) - Added Config `setOpenMode` and `setCloseMode` so that you can set mode to be Performance or Silent. - Added Config to allow manually setting firmware version. - Fixed Smart Lock Display state status. diff --git a/package-lock.json b/package-lock.json index fe63fe44..0114bdfe 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@switchbot/homebridge-switchbot", - "version": "3.1.0", + "version": "3.1.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@switchbot/homebridge-switchbot", - "version": "3.1.0", + "version": "3.1.1", "funding": [ { "type": "Paypal", @@ -28,8 +28,8 @@ }, "devDependencies": { "@types/node": "^20.11.16", - "@typescript-eslint/eslint-plugin": "^6.20.0", - "@typescript-eslint/parser": "^6.20.0", + "@typescript-eslint/eslint-plugin": "^6.21.0", + "@typescript-eslint/parser": "^6.21.0", "eslint": "^8.56.0", "homebridge": "^1.7.0", "homebridge-config-ui-x": "4.55.1", @@ -44,7 +44,7 @@ "node": "^18 || ^20" }, "optionalDependencies": { - "node-switchbot": "^2.0.0-beta.6" + "node-switchbot": "^1.10.0" } }, "node_modules/@aashutoshrathi/word-wrap": { @@ -1576,16 +1576,16 @@ "dev": true }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "6.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.20.0.tgz", - "integrity": "sha512-fTwGQUnjhoYHeSF6m5pWNkzmDDdsKELYrOBxhjMrofPqCkoC2k3B2wvGHFxa1CTIqkEn88nlW1HVMztjo2K8Hg==", + "version": "6.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.21.0.tgz", + "integrity": "sha512-oy9+hTPCUFpngkEZUSzbf9MxI65wbKFoQYsgPdILTfbUldp5ovUuphZVe4i30emU9M/kP+T64Di0mxl7dSw3MA==", "dev": true, "dependencies": { "@eslint-community/regexpp": "^4.5.1", - "@typescript-eslint/scope-manager": "6.20.0", - "@typescript-eslint/type-utils": "6.20.0", - "@typescript-eslint/utils": "6.20.0", - "@typescript-eslint/visitor-keys": "6.20.0", + "@typescript-eslint/scope-manager": "6.21.0", + "@typescript-eslint/type-utils": "6.21.0", + "@typescript-eslint/utils": "6.21.0", + "@typescript-eslint/visitor-keys": "6.21.0", "debug": "^4.3.4", "graphemer": "^1.4.0", "ignore": "^5.2.4", @@ -1611,15 +1611,15 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "6.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-6.20.0.tgz", - "integrity": "sha512-bYerPDF/H5v6V76MdMYhjwmwgMA+jlPVqjSDq2cRqMi8bP5sR3Z+RLOiOMad3nsnmDVmn2gAFCyNgh/dIrfP/w==", + "version": "6.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-6.21.0.tgz", + "integrity": "sha512-tbsV1jPne5CkFQCgPBcDOt30ItF7aJoZL997JSF7MhGQqOeT3svWRYxiqlfA5RUdlHN6Fi+EI9bxqbdyAUZjYQ==", "dev": true, "dependencies": { - "@typescript-eslint/scope-manager": "6.20.0", - "@typescript-eslint/types": "6.20.0", - "@typescript-eslint/typescript-estree": "6.20.0", - "@typescript-eslint/visitor-keys": "6.20.0", + "@typescript-eslint/scope-manager": "6.21.0", + "@typescript-eslint/types": "6.21.0", + "@typescript-eslint/typescript-estree": "6.21.0", + "@typescript-eslint/visitor-keys": "6.21.0", "debug": "^4.3.4" }, "engines": { @@ -1639,13 +1639,13 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "6.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.20.0.tgz", - "integrity": "sha512-p4rvHQRDTI1tGGMDFQm+GtxP1ZHyAh64WANVoyEcNMpaTFn3ox/3CcgtIlELnRfKzSs/DwYlDccJEtr3O6qBvA==", + "version": "6.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.21.0.tgz", + "integrity": "sha512-OwLUIWZJry80O99zvqXVEioyniJMa+d2GrqpUTqi5/v5D5rOrppJVBPa0yKCblcigC0/aYAzxxqQ1B+DS2RYsg==", "dev": true, "dependencies": { - "@typescript-eslint/types": "6.20.0", - "@typescript-eslint/visitor-keys": "6.20.0" + "@typescript-eslint/types": "6.21.0", + "@typescript-eslint/visitor-keys": "6.21.0" }, "engines": { "node": "^16.0.0 || >=18.0.0" @@ -1656,13 +1656,13 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "6.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-6.20.0.tgz", - "integrity": "sha512-qnSobiJQb1F5JjN0YDRPHruQTrX7ICsmltXhkV536mp4idGAYrIyr47zF/JmkJtEcAVnIz4gUYJ7gOZa6SmN4g==", + "version": "6.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-6.21.0.tgz", + "integrity": "sha512-rZQI7wHfao8qMX3Rd3xqeYSMCL3SoiSQLBATSiVKARdFGCYSRvmViieZjqc58jKgs8Y8i9YvVVhRbHSTA4VBag==", "dev": true, "dependencies": { - "@typescript-eslint/typescript-estree": "6.20.0", - "@typescript-eslint/utils": "6.20.0", + "@typescript-eslint/typescript-estree": "6.21.0", + "@typescript-eslint/utils": "6.21.0", "debug": "^4.3.4", "ts-api-utils": "^1.0.1" }, @@ -1683,9 +1683,9 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "6.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.20.0.tgz", - "integrity": "sha512-MM9mfZMAhiN4cOEcUOEx+0HmuaW3WBfukBZPCfwSqFnQy0grXYtngKCqpQN339X3RrwtzspWJrpbrupKYUSBXQ==", + "version": "6.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.21.0.tgz", + "integrity": "sha512-1kFmZ1rOm5epu9NZEZm1kckCDGj5UJEf7P1kliH4LKu/RkwpsfqqGmY2OOcUs18lSlQBKLDYBOGxRVtrMN5lpg==", "dev": true, "engines": { "node": "^16.0.0 || >=18.0.0" @@ -1696,13 +1696,13 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "6.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.20.0.tgz", - "integrity": "sha512-RnRya9q5m6YYSpBN7IzKu9FmLcYtErkDkc8/dKv81I9QiLLtVBHrjz+Ev/crAqgMNW2FCsoZF4g2QUylMnJz+g==", + "version": "6.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.21.0.tgz", + "integrity": "sha512-6npJTkZcO+y2/kr+z0hc4HwNfrrP4kNYh57ek7yCNlrBjWQ1Y0OS7jiZTkgumrvkX5HkEKXFZkkdFNkaW2wmUQ==", "dev": true, "dependencies": { - "@typescript-eslint/types": "6.20.0", - "@typescript-eslint/visitor-keys": "6.20.0", + "@typescript-eslint/types": "6.21.0", + "@typescript-eslint/visitor-keys": "6.21.0", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", @@ -1724,17 +1724,17 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "6.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-6.20.0.tgz", - "integrity": "sha512-/EKuw+kRu2vAqCoDwDCBtDRU6CTKbUmwwI7SH7AashZ+W+7o8eiyy6V2cdOqN49KsTcASWsC5QeghYuRDTyOOg==", + "version": "6.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-6.21.0.tgz", + "integrity": "sha512-NfWVaC8HP9T8cbKQxHcsJBY5YE1O33+jpMwN45qzWWaPDZgLIbo12toGMWnmhvCpd3sIxkpDw3Wv1B3dYrbDQQ==", "dev": true, "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", "@types/json-schema": "^7.0.12", "@types/semver": "^7.5.0", - "@typescript-eslint/scope-manager": "6.20.0", - "@typescript-eslint/types": "6.20.0", - "@typescript-eslint/typescript-estree": "6.20.0", + "@typescript-eslint/scope-manager": "6.21.0", + "@typescript-eslint/types": "6.21.0", + "@typescript-eslint/typescript-estree": "6.21.0", "semver": "^7.5.4" }, "engines": { @@ -1749,12 +1749,12 @@ } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "6.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.20.0.tgz", - "integrity": "sha512-E8Cp98kRe4gKHjJD4NExXKz/zOJ1A2hhZc+IMVD6i7w4yjIvh6VyuRI0gRtxAsXtoC35uGMaQ9rjI2zJaXDEAw==", + "version": "6.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.21.0.tgz", + "integrity": "sha512-JJtkDduxLi9bivAB+cYOVMtbkqdPOhZ+ZI5LC47MIRrDV4Yn2o+ZnW10Nkmr28xRpSpdJ6Sm42Hjf2+REYXm0A==", "dev": true, "dependencies": { - "@typescript-eslint/types": "6.20.0", + "@typescript-eslint/types": "6.21.0", "eslint-visitor-keys": "^3.4.1" }, "engines": { @@ -4843,6 +4843,21 @@ "node": ">=14.14" } }, + "node_modules/homebridge-config-ui-x/node_modules/semver": { + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", + "dev": true, + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, "node_modules/homebridge-lib": { "version": "6.7.3", "resolved": "https://registry.npmjs.org/homebridge-lib/-/homebridge-lib-6.7.3.tgz", @@ -6919,9 +6934,9 @@ } }, "node_modules/node-switchbot": { - "version": "2.0.0-beta.6", - "resolved": "https://registry.npmjs.org/node-switchbot/-/node-switchbot-2.0.0-beta.6.tgz", - "integrity": "sha512-eY3lcST6jO2WyEKyFrkZD2y8mHsx/Mw9hDjHQymrj6G5wA/MtLHMtdy0wl2LcClrsW1/8rtxxoLInJe6AzPcXg==", + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/node-switchbot/-/node-switchbot-1.10.0.tgz", + "integrity": "sha512-na7yfPQWdDCxRdrLBUAgu6AHRiSOmihwGK8DbhsFGlNSVWsWcd0bpbYUV1jRGYKWMMYWkhYHoh1t2wJYRirnNg==", "optional": true, "dependencies": { "@abandonware/noble": "^1.9.2-23" @@ -8468,9 +8483,9 @@ "dev": true }, "node_modules/semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", + "version": "7.6.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz", + "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==", "dependencies": { "lru-cache": "^6.0.0" }, diff --git a/package.json b/package.json index 395477cf..b0b6c615 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "displayName": "SwitchBot", "name": "@switchbot/homebridge-switchbot", - "version": "3.1.0", + "version": "3.1.1", "description": "The SwitchBot plugin allows you to access your SwitchBot device(s) from HomeKit.", "author": { "name": "SwitchBot", @@ -84,12 +84,12 @@ "undici": "^6.6.1" }, "optionalDependencies": { - "node-switchbot": "^2.0.0-beta.6" + "node-switchbot": "^1.10.0" }, "devDependencies": { "@types/node": "^20.11.16", - "@typescript-eslint/eslint-plugin": "^6.20.0", - "@typescript-eslint/parser": "^6.20.0", + "@typescript-eslint/eslint-plugin": "^6.21.0", + "@typescript-eslint/parser": "^6.21.0", "eslint": "^8.56.0", "homebridge": "^1.7.0", "homebridge-config-ui-x": "4.55.1",