@homebridge-plugins/homebridge-meross 10.8.3 → 10.9.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
@@ -2,11 +2,23 @@
2
2
 
3
3
  All notable changes to homebridge-meross will be documented in this file.
4
4
 
5
- This project tries to adhere to [Semantic Versioning](http://semver.org/). In practice, this means that the version number will be incremented based on the following:
5
+ ## v10.9.0 (2025-07-12)
6
6
 
7
- - `MAJOR` version when a minimum supported version of `homebridge` or `node` is increased to a new major version, or when a breaking change is made to the plugin config
8
- - `MINOR` version when a new device type is added, or when a new feature is added that is backwards-compatible
9
- - `PATCH` version when backwards-compatible bug fixes are implemented
7
+ ⚠️ This plugin no longer officially supports Node `v16` and `v18`, however there is no reason why it shouldn't work on these versions.
8
+
9
+ ### Notable Changes
10
+
11
+ - set `strictValidation` to `true` in the config schema file
12
+
13
+ ### Other Changes
14
+
15
+ - github repo maintenance
16
+
17
+ ## v10.8.4 (2025-04-19)
18
+
19
+ ### Changed
20
+
21
+ - updated dependencies
10
22
 
11
23
  ## v10.8.3 (2025-03-22)
12
24
 
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2023 - 2025 Ben Potter
3
+ Copyright (c) Ben Potter
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -7,13 +7,13 @@
7
7
 
8
8
  Homebridge plugin to integrate Meross devices into HomeKit
9
9
 
10
- [![npm](https://img.shields.io/npm/v/homebridge-meross/latest?label=latest)](https://www.npmjs.com/package/homebridge-meross)
11
- [![npm](https://img.shields.io/npm/v/homebridge-meross/beta?label=beta)](https://github.com/homebridge-plugins/homebridge-meross/wiki/Beta-Version)
10
+ [![npm](https://img.shields.io/npm/v/@homebridge-plugins/homebridge-meross/latest?label=latest)](https://www.npmjs.com/package/@homebridge-plugins/homebridge-meross)
11
+ [![npm](https://img.shields.io/npm/v/@homebridge-plugins/homebridge-meross/beta?label=beta)](https://github.com/homebridge-plugins/homebridge-meross/wiki/Beta-Version)
12
12
 
13
13
  [![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)
14
14
  [![hoobs-certified](https://badgen.net/badge/HOOBS/certified/yellow?label=hoobs)](https://plugins.hoobs.org/plugin/homebridge-meross)
15
15
 
16
- [![npm](https://img.shields.io/npm/dt/homebridge-meross)](https://www.npmjs.com/package/homebridge-meross)
16
+ [![npm](https://img.shields.io/npm/dt/@homebridge-plugins/homebridge-meross)](https://www.npmjs.com/package/@homebridge-plugins/homebridge-meross)
17
17
  [![Discord](https://img.shields.io/discord/432663330281226270?color=728ED5&logo=discord&label=hb-discord)](https://discord.com/channels/432663330281226270/742733745743855627)
18
18
 
19
19
  </span>
@@ -30,7 +30,7 @@ Homebridge plugin to integrate Meross devices into HomeKit
30
30
  ### Prerequisites
31
31
 
32
32
  - To use this plugin, you will need to already have:
33
- - [Node](https://nodejs.org): latest version of `v18`, `v20` or `v22` - any other major version is not supported.
33
+ - [Node](https://nodejs.org): latest version of `v20`, `v22` or `v24` - any other major version is not supported.
34
34
  - [Homebridge](https://homebridge.io): `v1.6` - refer to link for more information and installation instructions.
35
35
 
36
36
  ### Setup
@@ -2,6 +2,7 @@
2
2
  "pluginAlias": "Meross",
3
3
  "pluginType": "platform",
4
4
  "singular": true,
5
+ "strictValidation": true,
5
6
  "customUi": true,
6
7
  "customUiPath": "./lib/homebridge-ui",
7
8
  "headerDisplay": "<p align=\"center\"><img width=\"60%\" src=\"https://user-images.githubusercontent.com/43026681/127397024-8b15fc07-f31b-44bd-89e3-51d738d2609a.png\"></p><p align=\"center\">For help and support please visit our <a href=\"https://github.com/homebridge-plugins/homebridge-meross/wiki\">GitHub Wiki</a>. We hope you find this plugin useful!</p>",
package/eslint.config.js CHANGED
@@ -8,8 +8,6 @@ export default antfu(
8
8
  rules: {
9
9
  'curly': ['error', 'multi-line'],
10
10
  'new-cap': 'off',
11
- 'import/extensions': ['error', 'ignorePackages'],
12
- 'import/order': 0,
13
11
  'jsdoc/check-alignment': 'warn',
14
12
  'jsdoc/check-line-alignment': 'warn',
15
13
  'jsdoc/require-returns-check': 0,
@@ -196,10 +196,10 @@
196
196
  try {
197
197
  const currentConfig = await homebridge.getPluginConfig()
198
198
  showIntro = () => {
199
+ homebridge.disableSaveButton?.()
199
200
  const introContinue = document.getElementById('introContinue')
200
201
  introContinue.addEventListener('click', () => {
201
202
  homebridge.showSpinner()
202
- homebridge.disableSaveButton?.()
203
203
  document.getElementById('pageIntro').style.display = 'none'
204
204
  document.getElementById('menuWrapper').style.display = 'inline-flex'
205
205
  showSettings()
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@homebridge-plugins/homebridge-meross",
3
3
  "alias": "Meross",
4
4
  "type": "module",
5
- "version": "10.8.3",
5
+ "version": "10.9.0",
6
6
  "description": "Homebridge plugin to integrate Meross devices into HomeKit.",
7
7
  "author": {
8
8
  "name": "bwp91",
@@ -49,22 +49,21 @@
49
49
  "main": "lib/index.js",
50
50
  "engines": {
51
51
  "homebridge": "^1.6.0 || ^2.0.0-beta.0",
52
- "node": "^18.20.7 || ^20.19.0 || ^22.14.0"
52
+ "node": "^20 || ^22 || ^24"
53
53
  },
54
54
  "scripts": {
55
- "lint": "eslint . --fix",
56
- "rebuild": "rm -rf package-lock.json && rm -rf node_modules && npm install"
55
+ "lint": "eslint . --max-warnings=0",
56
+ "lint:fix": "npm run lint -- --fix"
57
57
  },
58
58
  "dependencies": {
59
- "@homebridge/plugin-ui-utils": "^2.0.1",
60
- "axios": "^1.8.4",
61
- "mqtt": "^5.10.4",
59
+ "@homebridge/plugin-ui-utils": "^2.1.0",
60
+ "axios": "^1.10.0",
61
+ "mqtt": "^5.13.2",
62
62
  "node-persist": "^4.0.4",
63
63
  "p-queue": "^8.1.0",
64
64
  "p-timeout": "^6.1.4"
65
65
  },
66
66
  "devDependencies": {
67
- "@antfu/eslint-config": "^4.10.2",
68
- "eslint": "^9.23.0"
67
+ "@antfu/eslint-config": "^4.16.2"
69
68
  }
70
69
  }