@homebridge-plugins/homebridge-wemo 7.4.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 CHANGED
@@ -2,6 +2,23 @@
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
+
16
+ ## v7.5.0 (2026-05-05)
17
+
18
+ ### Changed
19
+
20
+ - chore: dependency updates
21
+
5
22
  ## v7.4.0 (2026-04-12)
6
23
 
7
24
  ### 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,
@@ -27,12 +27,17 @@ export default class {
27
27
  .removeOnSet()
28
28
  .onSet(async value => this.internalStateUpdate(value))
29
29
 
30
- // Add options to the heater target state characteristic
31
- this.service.getCharacteristic(this.hapChar.TargetHeaterCoolerState).setProps({
32
- minValue: 0,
33
- maxValue: 0,
34
- validValues: [0],
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
@@ -29,12 +29,17 @@ export default class {
29
29
  .removeOnSet()
30
30
  .onSet(async value => this.internalStateUpdate(value))
31
31
 
32
- // Add options to the heater target state characteristic
33
- this.service.getCharacteristic(this.hapChar.TargetHeaterCoolerState).setProps({
34
- minValue: 0,
35
- maxValue: 0,
36
- validValues: [0],
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.4.0",
5
+ "version": "7.5.1",
6
6
  "description": "Homebridge plugin to integrate Wemo devices into HomeKit.",
7
7
  "author": {
8
8
  "name": "bwp91",
@@ -47,23 +47,23 @@
47
47
  ],
48
48
  "main": "lib/index.js",
49
49
  "engines": {
50
- "homebridge": "^1.6.0 || ^2.0.0-beta.0",
51
- "node": "^22 || ^24"
50
+ "homebridge": "^1.6.0 || ^2.0.0",
51
+ "node": "^22.12.0 || ^24.0.0"
52
52
  },
53
53
  "scripts": {
54
54
  "lint": "eslint . --max-warnings=0",
55
55
  "lint:fix": "npm run lint -- --fix"
56
56
  },
57
57
  "dependencies": {
58
- "@homebridge/plugin-ui-utils": "^2.2.3",
59
- "axios": "^1.15.0",
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.1.2",
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": "^8.1.1"
67
+ "@antfu/eslint-config": "^9.1.0"
68
68
  }
69
69
  }