@switchbot/homebridge-switchbot 2.5.2-beta.2 → 2.5.2-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -1
- package/config.schema.json +1 -1
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. This project uses [Semantic Versioning](https://semver.org/)
|
|
4
4
|
|
|
5
|
+
## [Beta - Version 2.5.1](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v2.5.2) (2023-02-XX)
|
|
6
|
+
|
|
7
|
+
## What's Changed
|
|
8
|
+
|
|
9
|
+
- Fixes mappingMode not being read from the config directly, Thanks [@AndreasVerhoeven](https://github.com/AndreasVerhoeven). [#667](https://github.com/OpenWonderLabs/homebridge-switchbot/pull/667)
|
|
10
|
+
- Fixes only_up mode in settings configuration, Thanks [@AndreasVerhoeven](https://github.com/AndreasVerhoeven). [#669](https://github.com/OpenWonderLabs/homebridge-switchbot/pull/669)
|
|
11
|
+
- Removes runStatus check, fixes some logic, Thanks [@AndreasVerhoeven](https://github.com/AndreasVerhoeven). [#672](https://github.com/OpenWonderLabs/homebridge-switchbot/pull/672)
|
|
12
|
+
- Housekeeping and updated dependencies.
|
|
13
|
+
|
|
14
|
+
**Full Changelog**: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v2.5.1....v2.5.2
|
|
15
|
+
|
|
5
16
|
## [Version 2.5.1](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v2.5.1) (2023-01-28)
|
|
6
17
|
|
|
7
18
|
## What's Changed
|
|
@@ -18,7 +29,7 @@ All notable changes to this project will be documented in this file. This projec
|
|
|
18
29
|
@dnicolson
|
|
19
30
|
- Remove incorrect warning message, Thanks [@dnicolson](https://github.com/dnicolson). [#661](https://github.com/OpenWonderLabs/homebridge-switchbot/pull/661)
|
|
20
31
|
- Replace switchbot wait with utility function, Thanks [@dnicolson](https://github.com/dnicolson). [#633](https://github.com/OpenWonderLabs/homebridge-switchbot/pull/633)
|
|
21
|
-
- Enhancements to BLE functionality
|
|
32
|
+
- Enhancements to BLE functionality.
|
|
22
33
|
- Housekeeping and updated dependencies.
|
|
23
34
|
|
|
24
35
|
**Full Changelog**: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v2.4.0....v2.5.0
|
package/config.schema.json
CHANGED
|
@@ -571,7 +571,7 @@
|
|
|
571
571
|
"placeholder": "-1",
|
|
572
572
|
"description": "The mired for each Adaptive Lighting update will be increased by this value, making the light appear warmer. Set to -1 to remove Adaptive Lighting feature. Must be -1 or more.",
|
|
573
573
|
"condition": {
|
|
574
|
-
"functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && model.options.devices[arrayIndices].configDeviceType === 'Color Bulb' && model.options.devices[arrayIndices].deviceId);"
|
|
574
|
+
"functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && (model.options.devices[arrayIndices].configDeviceType === 'Color Bulb' && model.options.devices[arrayIndices].configDeviceType === 'Strip Light') && model.options.devices[arrayIndices].deviceId);"
|
|
575
575
|
}
|
|
576
576
|
}
|
|
577
577
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"displayName": "Homebridge SwitchBot",
|
|
3
3
|
"name": "@switchbot/homebridge-switchbot",
|
|
4
|
-
"version": "2.5.2-beta.
|
|
4
|
+
"version": "2.5.2-beta.3",
|
|
5
5
|
"description": "The [Homebridge](https://homebridge.io) SwitchBot plugin allows you to access your [SwitchBot](https://www.switch-bot.com) device(s) from HomeKit.",
|
|
6
6
|
"author": "SwitchBot <support@wondertechlabs.com> (https://github.com/SwitchBot)",
|
|
7
7
|
"license": "ISC",
|
|
@@ -63,20 +63,20 @@
|
|
|
63
63
|
"rxjs": "^7.8.0"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
|
-
"@types/node": "^18.
|
|
66
|
+
"@types/node": "^18.13.0",
|
|
67
67
|
"@types/crypto-js": "^4.1.1",
|
|
68
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
69
|
-
"@typescript-eslint/parser": "^5.
|
|
68
|
+
"@typescript-eslint/eslint-plugin": "^5.51.0",
|
|
69
|
+
"@typescript-eslint/parser": "^5.51.0",
|
|
70
70
|
"eslint": "^8.33.0",
|
|
71
71
|
"eslint-config-prettier": "8.6.0",
|
|
72
72
|
"eslint-plugin-prettier": "4.2.1",
|
|
73
73
|
"homebridge": "^1.6.0",
|
|
74
74
|
"nodemon": "^2.0.20",
|
|
75
|
-
"npm-check-updates": "^16.6.
|
|
76
|
-
"prettier": "2.8.
|
|
75
|
+
"npm-check-updates": "^16.6.5",
|
|
76
|
+
"prettier": "2.8.4",
|
|
77
77
|
"rimraf": "^4.1.2",
|
|
78
78
|
"ts-node": "^10.9.1",
|
|
79
|
-
"typescript": "^4.9.
|
|
79
|
+
"typescript": "^4.9.5"
|
|
80
80
|
},
|
|
81
81
|
"optionalDependencies": {
|
|
82
82
|
"node-switchbot": "^1.8.0"
|