homebridge-midea-platform 1.3.1-beta.3 → 1.3.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.
@@ -1,3 +1,3 @@
1
1
  {
2
- ".": "1.3.0"
2
+ ".": "1.3.1"
3
3
  }
package/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.3.1](https://github.com/kovapatrik/homebridge-midea-platform/compare/v1.3.0...v1.3.1) (2026-07-02)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * lodash dep ([c0061f6](https://github.com/kovapatrik/homebridge-midea-platform/commit/c0061f62b493430866860eeb0c6533e5b1922e8d))
9
+ * type safe custom UI, linter/formatter changed to oxc ([#184](https://github.com/kovapatrik/homebridge-midea-platform/issues/184)) ([6463180](https://github.com/kovapatrik/homebridge-midea-platform/commit/6463180927a93a98bd02215cc6466aeda4f014ab))
10
+ * update all accessory states on setting a state, contributing ([#186](https://github.com/kovapatrik/homebridge-midea-platform/issues/186)) ([8b85b63](https://github.com/kovapatrik/homebridge-midea-platform/commit/8b85b635085955501dc79f7d92a7ae5e6ea634d1))
11
+
3
12
  ## [1.3.0](https://github.com/kovapatrik/homebridge-midea-platform/compare/v1.2.10...v1.3.0) (2026-06-30)
4
13
 
5
14
  ### Features
@@ -0,0 +1,9 @@
1
+ # Contributing to homebridge-midea-platform
2
+
3
+ ## AI Policy
4
+
5
+ 1. Always review AI-generated code closely before submitting a PR.
6
+ 2. Only use AI to assist in contributions that you would understand well enough to work on and respond to feedback on without making use of AI.
7
+ 3. Do not ignore our issue and PR templates.
8
+ 4. Avoid AI-generated content in written, non-code contributions (issues/comments/PR descriptions, etc.). AI-generated PR descriptions in particular tend to just be nearly-verbatim descriptions of the code diff, which add no value to the PR. Instead, we ask that you summarize the PR succinctly in your own words, relying on your own understanding of the code.
9
+ 5. Pull requests and issues that do not appear to follow these guidelines may be closed at maintainers' discretion.
package/README.md CHANGED
@@ -8,19 +8,23 @@
8
8
  [![npm](https://badgen.net/npm/v/homebridge-midea-platform)](https://www.npmjs.com/package/homebridge-midea-platform)
9
9
  [![npm](https://badgen.net/npm/dt/homebridge-midea-platform?label=downloads)](https://www.npmjs.com/package/homebridge-midea-platform)
10
10
 
11
- _Verified_ plugin for Midea devices. This is implemented by building on the Homebridge platform plugin template and the work done by [@georgezhao2010](https://github.com/georgezhao2010) in the [midea_ac_lan](https://github.com/georgezhao2010/midea_ac_lan) project for Home Assistant and the project [midea-local](https://github.com/midea-lan/midea-local). Also thanks to the work done by [@mill1000](https://github.com/mill1000) in the [midea-msmart (msmart-ng)](https://github.com/mill1000/midea-msmart) project.
11
+ _Verified_ plugin for Midea devices. This is implemented by building on the Homebridge platform plugin template and the work done by:
12
12
 
13
- Pull requests and/or other offers of development assistance gratefully received.
13
+ - [@georgezhao2010](https://github.com/georgezhao2010) in the [midea_ac_lan](https://github.com/georgezhao2010/midea_ac_lan) project for Home Assistant
14
+ - The [midea-local](https://github.com/midea-lan/midea-local) project.
15
+ - [@mill1000](https://github.com/mill1000) in the [midea-msmart (msmart-ng)](https://github.com/mill1000/midea-msmart) project.
14
16
 
15
17
  More information can be found in the [wiki](https://github.com/kovapatrik/homebridge-midea-platform/wiki).
16
18
 
17
19
  ## IMPORTANT NOTICE
18
20
 
19
- - As written by [@wuwentao](https://github.com/wuwentao) in the [midea_ac_lan repository](https://github.com/wuwentao/midea_ac_lan), Midea disabled the token fetching APIs in both Meiju and Midea SmartHome, and now it's only available using the NetHome Plus API.
20
- - It's expected that the token fetching in NetHome Plus API will be disabled as well.
21
- - Make sure you save your devices' token and key to be able to usem them in the future.
22
- - [@wuwentao](https://github.com/wuwentao) also wrote a nice summary about the history of what happened: https://github.com/mill1000/midea-msmart/issues/201#issuecomment-2746782457
23
- - For these reasons, only NetHome Plus is enabled in the discovery process.
21
+ - Fetching the token/key using Midea SmartHome is available again thanks to [cauan](https://github.com/cauan) and [their PR](https://github.com/midea-lan/midea-local/pull/470)
22
+ - It's still HIGHLY advised to save the token/key.
23
+ - ~~As written by [@wuwentao](https://github.com/wuwentao) in the [midea_ac_lan repository](https://github.com/wuwentao/midea_ac_lan), Midea disabled the token fetching APIs in both Meiju and Midea SmartHome, and now it's only available using the NetHome Plus API.~~
24
+ - ~~It's expected that the token fetching in NetHome Plus API will be disabled as well.~~
25
+ - ~~Make sure you save your devices' token and key to be able to usem them in the future.~~
26
+ - ~~[@wuwentao](https://github.com/wuwentao) also wrote a nice summary about the history of what happened: https://github.com/mill1000/midea-msmart/issues/201#issuecomment-2746782457~~
27
+ - ~~For these reasons, only NetHome Plus is enabled in the discovery process.~~
24
28
 
25
29
  ## Features
26
30
 
@@ -63,6 +67,10 @@ Midea device status is retrieved over your Local Area Network (LAN) and credenti
63
67
 
64
68
  You should use the UI to discover and add devices. More information on the settings can be found in the [wiki](https://github.com/kovapatrik/homebridge-midea-platform/wiki#device-discovery).
65
69
 
70
+ ## Contribution
71
+
72
+ Help is always welcome. If you'd like to get involved, check out the [contribution notes](CONTRIBUTING.md).
73
+
66
74
  ## License
67
75
 
68
76
  Copyright (c) 2023 [Kovalovszky Patrik](https://github.com/kovapatrik),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "homebridge-midea-platform",
3
- "version": "1.3.1-beta.3",
3
+ "version": "1.3.1",
4
4
  "description": "Homebridge plugin for Midea devices",
5
5
  "keywords": [
6
6
  "homebridge-plugin"
@@ -39,6 +39,7 @@
39
39
  "@homebridge/plugin-ui-utils": "^2.2.4",
40
40
  "axios": "^1.18.1",
41
41
  "fast-xml-parser": "^5.9.3",
42
+ "lodash-es": "^4.18.1",
42
43
  "luxon": "^3.7.2",
43
44
  "semaphore-promise": "^1.4.4"
44
45
  },
@@ -49,7 +50,6 @@
49
50
  "@types/node": "^25.9.4",
50
51
  "alpinejs": "^3.15.12",
51
52
  "homebridge": "^2.1.0",
52
- "lodash-es": "^4.18.1",
53
53
  "nodemon": "^3.1.14",
54
54
  "oxfmt": "^0.57.0",
55
55
  "oxlint": "^1.72.0",
package/.luarc.json DELETED
@@ -1,5 +0,0 @@
1
- {
2
- "diagnostics": {
3
- "enable": false
4
- }
5
- }
@@ -1,78 +0,0 @@
1
- {
2
- "lsp": {
3
- "oxlint": {
4
- "initialization_options": {
5
- "settings": {
6
- "configPath": null,
7
- "run": "onType",
8
- "disableNestedConfig": false,
9
- "fixKind": "safe_fix",
10
- "unusedDisableDirectives": "deny",
11
- },
12
- },
13
- },
14
- "oxfmt": {
15
- "initialization_options": {
16
- "settings": {
17
- "fmt.configPath": null,
18
- "run": "onSave",
19
- },
20
- },
21
- },
22
- },
23
- "languages": {
24
- "TypeScript": {
25
- "language_servers": ["vtsls", "oxlint", "oxfmt"],
26
- "format_on_save": "on",
27
- "prettier": {
28
- "allowed": false,
29
- },
30
- "formatter": [
31
- {
32
- "language_server": {
33
- "name": "oxfmt",
34
- },
35
- },
36
- ],
37
- },
38
- "JSON": {
39
- "format_on_save": "on",
40
- "prettier": {
41
- "allowed": false,
42
- },
43
- "formatter": [
44
- {
45
- "language_server": {
46
- "name": "oxfmt",
47
- },
48
- },
49
- ],
50
- },
51
- "HTML": {
52
- "format_on_save": "on",
53
- "prettier": {
54
- "allowed": false,
55
- },
56
- "formatter": [
57
- {
58
- "language_server": {
59
- "name": "oxfmt",
60
- },
61
- },
62
- ],
63
- },
64
- "Markdown": {
65
- "format_on_save": "on",
66
- "prettier": {
67
- "allowed": false,
68
- },
69
- "formatter": [
70
- {
71
- "language_server": {
72
- "name": "oxfmt",
73
- },
74
- },
75
- ],
76
- },
77
- },
78
- }