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 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.13",
4
+ "version": "1.3.15",
5
5
  "news": {
6
- "1.3.13": {
7
- "en": "Fix all ESLint/Prettier errors: add JSDoc to all methods, fix formatting, remove unused imports",
8
- "de": "Alle ESLint/Prettier-Fehler behoben: JSDoc erg\u00e4nzt, Formatierung korrigiert, ungenutzte Importe entfernt",
9
- "ru": "\u0418\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u044b \u0432\u0441\u0435 \u043e\u0448\u0438\u0431\u043a\u0438 ESLint/Prettier: JSDoc \u0434\u043b\u044f \u0432\u0441\u0435\u0445 \u043c\u0435\u0442\u043e\u0434\u043e\u0432, \u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435, \u043d\u0435\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0435 \u0438\u043c\u043f\u043e\u0440\u0442\u044b",
10
- "pt": "Todos os erros ESLint/Prettier corrigidos: JSDoc adicionado, formata\u00e7\u00e3o corrigida, importa\u00e7\u00f5es n\u00e3o utilizadas removidas",
11
- "nl": "Alle ESLint/Prettier-fouten opgelost: JSDoc toegevoegd, opmaak gecorrigeerd, ongebruikte imports verwijderd",
12
- "fr": "Tous les erreurs ESLint/Prettier corrig\u00e9es: JSDoc ajout\u00e9, formatage corrig\u00e9, imports inutilis\u00e9s supprim\u00e9s",
13
- "it": "Tutti gli errori ESLint/Prettier corretti: JSDoc aggiunto, formattazione corretta, import inutilizzati rimossi",
14
- "es": "Todos los errores ESLint/Prettier corregidos: JSDoc a\u00f1adido, formato corregido, importaciones no usadas eliminadas",
15
- "pl": "Wszystkie b\u0142\u0119dy ESLint/Prettier naprawione: dodano JSDoc, poprawiono formatowanie, usuni\u0119to nieu\u017cywane importy",
16
- "uk": "\u0412\u0438\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043e \u0432\u0441\u0456 \u043f\u043e\u043c\u0438\u043b\u043a\u0438 ESLint/Prettier: \u0434\u043e\u0434\u0430\u043d\u043e JSDoc, \u0432\u0438\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043e \u0444\u043e\u0440\u043c\u0430\u0442\u0443\u0432\u0430\u043d\u043d\u044f, \u0432\u0438\u0434\u0430\u043b\u0435\u043d\u043e \u043d\u0435\u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u0430\u043d\u0456 \u0456\u043c\u043f\u043e\u0440\u0442\u0438",
17
- "zh-cn": "\u4fee\u590d\u6240\u6709 ESLint/Prettier \u9519\u8bef\uff1a\u4e3a\u6240\u6709\u65b9\u6cd5\u6dfb\u52a0 JSDoc\uff0c\u4fee\u6b63\u683c\u5f0f\uff0c\u5220\u9664\u672a\u4f7f\u7528\u7684\u5bfc\u5165"
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 (_e) {
624
+ } catch {
628
625
  return [];
629
626
  }
630
627
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iobroker.sigenergy",
3
- "version": "1.3.13",
3
+ "version": "1.3.15",
4
4
  "description": "ioBroker adapter for Sigenergy solar energy systems via Modbus TCP/RTU",
5
5
  "author": {
6
6
  "name": "ssbingo",