@homebridge-plugins/homebridge-wemo 7.5.0 → 7.5.1
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 +11 -0
- package/README.md +1 -1
- package/eslint.config.js +0 -1
- package/lib/device/crockpot.js +11 -6
- package/lib/device/heater.js +11 -6
- package/lib/platform.js +7 -0
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to `@homebridge-plugins/homebridge-wemo` will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## v7.5.1 (2026-07-12)
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- fix: clear wemo link subdevices from the pending list (#263)
|
|
10
|
+
- fix: show target temperature slider for heater and crockpot (#110)
|
|
11
|
+
- chore: update actions/checkout to v7
|
|
12
|
+
- chore: remove stray exit 1 from deprecation workflow
|
|
13
|
+
- chore: dependency updates
|
|
14
|
+
- docs: note homebridge v2 support in prerequisites
|
|
15
|
+
|
|
5
16
|
## v7.5.0 (2026-05-05)
|
|
6
17
|
|
|
7
18
|
### Changed
|
package/README.md
CHANGED
|
@@ -34,7 +34,7 @@ Homebridge plugin to integrate Wemo devices into HomeKit
|
|
|
34
34
|
|
|
35
35
|
- To use this plugin, you will need to already have:
|
|
36
36
|
- [Node](https://nodejs.org): latest version of `v22` or `v24` - any other major version is not supported.
|
|
37
|
-
- [Homebridge](https://homebridge.io): `v1.6` - refer to link for more information and installation instructions.
|
|
37
|
+
- [Homebridge](https://homebridge.io): `v1.6` or above - refer to link for more information and installation instructions.
|
|
38
38
|
- For the UPnP connection, make sure your Homebridge instance has an allocated IP from the same IP network or VLAN as your Wemo devices. Otherwise, you should disable the UPnP connection to avoid connection errors.
|
|
39
39
|
|
|
40
40
|
### Setup
|
package/eslint.config.js
CHANGED
|
@@ -35,7 +35,6 @@ export default antfu(
|
|
|
35
35
|
'style/brace-style': ['error', '1tbs', { allowSingleLine: true }],
|
|
36
36
|
'style/quote-props': ['error', 'consistent-as-needed'],
|
|
37
37
|
'test/no-only-tests': 'error',
|
|
38
|
-
'unicorn/no-useless-spread': 'error',
|
|
39
38
|
'unused-imports/no-unused-vars': ['error', { caughtErrors: 'none' }],
|
|
40
39
|
},
|
|
41
40
|
typescript: false,
|
package/lib/device/crockpot.js
CHANGED
|
@@ -27,12 +27,17 @@ export default class {
|
|
|
27
27
|
.removeOnSet()
|
|
28
28
|
.onSet(async value => this.internalStateUpdate(value))
|
|
29
29
|
|
|
30
|
-
//
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
30
|
+
// Restrict the target state to HEAT so Apple Home shows a single target
|
|
31
|
+
// temperature slider. Locking it to AUTO makes newer Home versions expect a
|
|
32
|
+
// temperature range (two thresholds) and hide the slider entirely (#110).
|
|
33
|
+
this.service
|
|
34
|
+
.getCharacteristic(this.hapChar.TargetHeaterCoolerState)
|
|
35
|
+
.setProps({
|
|
36
|
+
minValue: 1,
|
|
37
|
+
maxValue: 1,
|
|
38
|
+
validValues: [1],
|
|
39
|
+
})
|
|
40
|
+
.updateValue(1)
|
|
36
41
|
|
|
37
42
|
// Add the set handler and a range to the heater target temperature characteristic
|
|
38
43
|
this.service
|
package/lib/device/heater.js
CHANGED
|
@@ -29,12 +29,17 @@ export default class {
|
|
|
29
29
|
.removeOnSet()
|
|
30
30
|
.onSet(async value => this.internalStateUpdate(value))
|
|
31
31
|
|
|
32
|
-
//
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
32
|
+
// Restrict the target state to HEAT so Apple Home shows a single target
|
|
33
|
+
// temperature slider. Locking it to AUTO makes newer Home versions expect a
|
|
34
|
+
// temperature range (two thresholds) and hide the slider entirely (#110).
|
|
35
|
+
this.service
|
|
36
|
+
.getCharacteristic(this.hapChar.TargetHeaterCoolerState)
|
|
37
|
+
.setProps({
|
|
38
|
+
minValue: 1,
|
|
39
|
+
maxValue: 1,
|
|
40
|
+
validValues: [1],
|
|
41
|
+
})
|
|
42
|
+
.updateValue(1)
|
|
38
43
|
|
|
39
44
|
// Add the set handler and a range to the heater target temperature characteristic
|
|
40
45
|
this.service
|
package/lib/platform.js
CHANGED
|
@@ -963,6 +963,13 @@ export default class {
|
|
|
963
963
|
subAcc.context.upnpOnline = true
|
|
964
964
|
}
|
|
965
965
|
|
|
966
|
+
// Remove the subdevice from the pending connection list, otherwise the
|
|
967
|
+
// 'still not been initially found' warning is logged for it indefinitely.
|
|
968
|
+
// Match both the raw and normalised serial as the list can contain either.
|
|
969
|
+
cacheSerialsToConnect = cacheSerialsToConnect.filter(
|
|
970
|
+
el => el !== subdevice.deviceId && el !== parseSerialNumber(subdevice.deviceId),
|
|
971
|
+
)
|
|
972
|
+
|
|
966
973
|
// Update any changes to the accessory to the platform
|
|
967
974
|
this.api.updatePlatformAccessories([subAcc])
|
|
968
975
|
devicesInHB.set(uuidSub, subAcc)
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@homebridge-plugins/homebridge-wemo",
|
|
3
3
|
"alias": "Wemo",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"version": "7.5.
|
|
5
|
+
"version": "7.5.1",
|
|
6
6
|
"description": "Homebridge plugin to integrate Wemo devices into HomeKit.",
|
|
7
7
|
"author": {
|
|
8
8
|
"name": "bwp91",
|
|
@@ -55,15 +55,15 @@
|
|
|
55
55
|
"lint:fix": "npm run lint -- --fix"
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
|
-
"@homebridge/plugin-ui-utils": "^2.2.
|
|
59
|
-
"axios": "^1.
|
|
58
|
+
"@homebridge/plugin-ui-utils": "^2.2.5",
|
|
59
|
+
"axios": "^1.18.1",
|
|
60
60
|
"ip": "^2.0.1",
|
|
61
61
|
"node-ssdp": "^4.0.1",
|
|
62
|
-
"p-queue": "^9.
|
|
62
|
+
"p-queue": "^9.3.1",
|
|
63
63
|
"xml2js": "^0.6.2",
|
|
64
64
|
"xmlbuilder": "^15.1.1"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
|
-
"@antfu/eslint-config": "^
|
|
67
|
+
"@antfu/eslint-config": "^9.1.0"
|
|
68
68
|
}
|
|
69
69
|
}
|