@homebridge-plugins/homebridge-wemo 7.2.2 → 7.3.0

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
@@ -1,6 +1,22 @@
1
1
  # Change Log
2
2
 
3
- All notable changes to homebridge-wemo will be documented in this file.
3
+ All notable changes to `@homebridge-plugins/homebridge-wemo` will be documented in this file.
4
+
5
+ ## v7.3.0 (2026-02-15)
6
+
7
+ ### Changes
8
+
9
+ - determine debug mode from `-D` flag
10
+ - updated dependencies
11
+ - updated dependencies + lint rules
12
+
13
+ ## v7.2.3 (2025-12-05)
14
+
15
+ ### Changes
16
+
17
+ - update readme badges (use `shields.io`)
18
+ - update workflows and npm publish via oidc
19
+ - dependency updates
4
20
 
5
21
  ## v7.2.2 (2025-07-24)
6
22
 
package/README.md CHANGED
@@ -8,11 +8,9 @@
8
8
  Homebridge plugin to integrate Wemo devices into HomeKit
9
9
 
10
10
  [![npm](https://img.shields.io/npm/v/@homebridge-plugins/homebridge-wemo/latest?label=latest)](https://www.npmjs.com/package/@homebridge-plugins/homebridge-wemo)
11
- [![npm](https://img.shields.io/npm/v/@homebridge-plugins/homebridge-wemo/beta?label=beta)](https://github.com/homebridge-plugins/homebridge-wemo/wiki/Beta-Version)
12
-
13
- [![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)
14
- [![hoobs-certified](https://badgen.net/badge/HOOBS/certified/yellow?label=hoobs)](https://plugins.hoobs.org/plugin/homebridge-wemo)
15
-
11
+ [![npm](https://img.shields.io/npm/v/@homebridge-plugins/homebridge-wemo/beta?label=beta)](https://github.com/homebridge-plugins/homebridge-wemo/wiki/Beta-Version)<br>
12
+ [![verified-by-homebridge](https://img.shields.io/badge/homebridge-verified-blueviolet?color=%23491F59&style=flat)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)
13
+ [![hoobs-certified](https://img.shields.io/badge/hoobs-certified-yellow)](https://plugins.hoobs.org/plugin/homebridge-wemo)<br>
16
14
  [![npm](https://img.shields.io/npm/dt/@homebridge-plugins/homebridge-wemo)](https://www.npmjs.com/package/@homebridge-plugins/homebridge-wemo)
17
15
  [![Discord](https://img.shields.io/discord/432663330281226270?color=728ED5&logo=discord&label=hb-discord)](https://discord.com/channels/432663330281226270/742733745743855627)
18
16
 
package/eslint.config.js CHANGED
@@ -3,34 +3,29 @@ import { antfu } from '@antfu/eslint-config'
3
3
  /** @type {typeof antfu} */
4
4
  export default antfu(
5
5
  {
6
- ignores: [],
6
+ ignores: ['README.md'],
7
7
  jsx: false,
8
8
  rules: {
9
9
  'curly': ['error', 'multi-line'],
10
10
  'new-cap': 'off',
11
- 'jsdoc/check-alignment': 'warn',
12
- 'jsdoc/check-line-alignment': 'warn',
13
- 'jsdoc/require-returns-check': 0,
14
- 'jsdoc/require-returns-description': 0,
15
11
  'no-undef': 'error',
16
12
  'perfectionist/sort-exports': 'error',
17
13
  'perfectionist/sort-imports': [
18
14
  'error',
19
15
  {
20
16
  groups: [
21
- 'type',
22
- 'internal-type',
17
+ ['type-builtin', 'type-external', 'type-internal'],
18
+ ['type-parent', 'type-sibling', 'type-index'],
23
19
  'builtin',
24
20
  'external',
25
21
  'internal',
26
- ['parent-type', 'sibling-type', 'index-type'],
27
22
  ['parent', 'sibling', 'index'],
28
- 'object',
23
+ 'side-effect',
29
24
  'unknown',
30
25
  ],
31
26
  order: 'asc',
32
27
  type: 'natural',
33
- newlinesBetween: 'always',
28
+ newlinesBetween: 1,
34
29
  },
35
30
  ],
36
31
  'perfectionist/sort-named-exports': 'error',
@@ -41,8 +36,8 @@ export default antfu(
41
36
  'style/quote-props': ['error', 'consistent-as-needed'],
42
37
  'test/no-only-tests': 'error',
43
38
  'unicorn/no-useless-spread': 'error',
44
- 'unused-imports/no-unused-vars': ['error', { caughtErrors: 'none' }],
39
+ 'unused-imports/no-unused-vars': 0,
45
40
  },
46
- typescript: false,
41
+ typescript: true,
47
42
  },
48
43
  )
package/lib/platform.js CHANGED
@@ -40,7 +40,7 @@ export default class {
40
40
  try {
41
41
  this.api = api
42
42
  this.log = log
43
- this.isBeta = plugin.version.includes('beta')
43
+ this.isBeta = process.argv.includes('-D')
44
44
 
45
45
  // Configuration objects for accessories
46
46
  this.ignoredDevices = []
@@ -345,14 +345,6 @@ export default class {
345
345
  if (this.isBeta) {
346
346
  this.log.debug = this.log
347
347
  this.log.debugWarn = this.log.warn
348
-
349
- // Log that using a beta will generate a lot of debug logs
350
- if (this.isBeta) {
351
- const divide = '*'.repeat(platformLang.beta.length + 1) // don't forget the full stop (+1!)
352
- this.log.warn(divide)
353
- this.log.warn(`${platformLang.beta}.`)
354
- this.log.warn(divide)
355
- }
356
348
  } else {
357
349
  this.log.debug = () => {}
358
350
  this.log.debugWarn = () => {}
@@ -3,7 +3,6 @@ export default {
3
3
  accNotReady: 'has not been discovered yet so commands will fail',
4
4
  alDisabled: 'adaptive lighting disabled due to significant colour change',
5
5
  awaiting: 'The following devices have still not been initially found',
6
- beta: 'You are using a beta version of the plugin - you will experience more logging than normal',
7
6
  brand: 'Belkin Wemo',
8
7
  brightnessFail: 'could not obtain updated brightness as',
9
8
  cantCtl: 'sending update failed as',
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.2.2",
5
+ "version": "7.3.0",
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.1.0",
59
- "axios": "^1.11.0",
58
+ "@homebridge/plugin-ui-utils": "^2.2.0",
59
+ "axios": "^1.13.5",
60
60
  "ip": "^2.0.1",
61
61
  "node-ssdp": "^4.0.1",
62
- "p-queue": "^8.1.0",
62
+ "p-queue": "^9.1.0",
63
63
  "xml2js": "^0.6.2",
64
64
  "xmlbuilder": "^15.1.1"
65
65
  },
66
66
  "devDependencies": {
67
- "@antfu/eslint-config": "^4.19.0"
67
+ "@antfu/eslint-config": "^7.4.3"
68
68
  }
69
69
  }