iobroker.sigenergy 1.3.13 → 1.3.15
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/README.md +6 -0
- package/io-package.json +13 -13
- package/main.js +2 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -156,6 +156,12 @@ MIT License — Copyright (c) 2025 ioBroker Community
|
|
|
156
156
|
---
|
|
157
157
|
|
|
158
158
|
## Changelog
|
|
159
|
+
### 1.3.15 (2026-03-13)
|
|
160
|
+
* Fix indentation of setTimeout in testConnection Promise
|
|
161
|
+
|
|
162
|
+
### 1.3.14 (2026-03-13)
|
|
163
|
+
* Fix last two lint errors: collapse setTimeout in testConnection, use bare catch in _getSerialPorts
|
|
164
|
+
|
|
159
165
|
### 1.3.13 (2026-03-13)
|
|
160
166
|
* Fix all ESLint/Prettier errors: add JSDoc to all methods, fix formatting, remove unused imports
|
|
161
167
|
|
package/io-package.json
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "sigenergy",
|
|
4
|
-
"version": "1.3.
|
|
4
|
+
"version": "1.3.15",
|
|
5
5
|
"news": {
|
|
6
|
-
"1.3.
|
|
7
|
-
"en": "Fix
|
|
8
|
-
"de": "
|
|
9
|
-
"ru": "\u0418\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d
|
|
10
|
-
"pt": "
|
|
11
|
-
"nl": "
|
|
12
|
-
"fr": "
|
|
13
|
-
"it": "
|
|
14
|
-
"es": "
|
|
15
|
-
"pl": "
|
|
16
|
-
"uk": "\u0412\u0438\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043e \u0432\
|
|
17
|
-
"zh-cn": "\u4fee\u590d
|
|
6
|
+
"1.3.15": {
|
|
7
|
+
"en": "Fix indentation of setTimeout in testConnection Promise",
|
|
8
|
+
"de": "Einr\u00fcckung von setTimeout in testConnection Promise korrigiert",
|
|
9
|
+
"ru": "\u0418\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d \u043e\u0442\u0441\u0442\u0443\u043f setTimeout \u0432 Promise testConnection",
|
|
10
|
+
"pt": "Corrigida indenta\u00e7\u00e3o do setTimeout no Promise testConnection",
|
|
11
|
+
"nl": "Inspringing van setTimeout in testConnection Promise gecorrigeerd",
|
|
12
|
+
"fr": "Correction de l'indentation du setTimeout dans la Promise testConnection",
|
|
13
|
+
"it": "Corretta indentazione del setTimeout nella Promise testConnection",
|
|
14
|
+
"es": "Corregida indentaci\u00f3n del setTimeout en la Promise testConnection",
|
|
15
|
+
"pl": "Poprawiono wci\u0119cie setTimeout w Promise testConnection",
|
|
16
|
+
"uk": "\u0412\u0438\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043e \u0432\u0456\u0434\u0441\u0442\u0443\u043f setTimeout \u0443 Promise testConnection",
|
|
17
|
+
"zh-cn": "\u4fee\u590d testConnection Promise \u4e2d setTimeout \u7684\u7f29\u8fdb"
|
|
18
18
|
}
|
|
19
19
|
},
|
|
20
20
|
"titleLang": {
|
package/main.js
CHANGED
|
@@ -589,10 +589,7 @@ class Sigenergy extends utils.Adapter {
|
|
|
589
589
|
result = await Promise.race([
|
|
590
590
|
testModbus.testConnection(),
|
|
591
591
|
new Promise((_, reject) =>
|
|
592
|
-
setTimeout(
|
|
593
|
-
() => reject(new Error('Test timed out — no response from device')),
|
|
594
|
-
hardTimeout,
|
|
595
|
-
),
|
|
592
|
+
setTimeout(() => reject(new Error('Test timed out — no response from device')), hardTimeout),
|
|
596
593
|
),
|
|
597
594
|
]);
|
|
598
595
|
} catch (e) {
|
|
@@ -624,7 +621,7 @@ class Sigenergy extends utils.Adapter {
|
|
|
624
621
|
value: p.path,
|
|
625
622
|
label: `${p.path}${p.manufacturer ? ` (${p.manufacturer})` : ''}`,
|
|
626
623
|
}));
|
|
627
|
-
} catch
|
|
624
|
+
} catch {
|
|
628
625
|
return [];
|
|
629
626
|
}
|
|
630
627
|
}
|