iobroker.lorawan 1.22.5 → 1.22.6

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
@@ -24,6 +24,9 @@ For now there is documentation in English here: https://wiki.hafenmeister.de
24
24
  Placeholder for the next version (at the beginning of the line):
25
25
  ### **WORK IN PROGRESS**
26
26
  -->
27
+ ### 1.22.6 (2026-04-10)
28
+ * (BenAhrdt) bugfix cover endposition open
29
+
27
30
  ### 1.22.5 (2026-04-10)
28
31
  * (BenAhrdt) bugfix displaying buttons in dM cards
29
32
 
package/io-package.json CHANGED
@@ -1,8 +1,21 @@
1
1
  {
2
2
  "common": {
3
3
  "name": "lorawan",
4
- "version": "1.22.5",
4
+ "version": "1.22.6",
5
5
  "news": {
6
+ "1.22.6": {
7
+ "en": "bugfix cover endposition open",
8
+ "de": "bugfix cover endposition offen",
9
+ "ru": "багфикс cover end end open",
10
+ "pt": "endposition de cobertura de bugfix aberta",
11
+ "nl": "bugfix cover endposition open",
12
+ "fr": "bugfix endposition de couverture ouverte",
13
+ "it": "bugfix cover endposition aperto",
14
+ "es": "tapa bugfix endposition open",
15
+ "pl": "bugfix pokrywa końcowa otwarta",
16
+ "uk": "відновлення пароля",
17
+ "zh-cn": "bugfix 封面结束位置打开"
18
+ },
6
19
  "1.22.5": {
7
20
  "en": "bugfix displaying buttons in dM cards",
8
21
  "de": "bugfix Anzeigetasten in dM-Karten",
@@ -80,19 +93,6 @@
80
93
  "pl": "nowy projekt w urządzeniu karty menedżer",
81
94
  "uk": "новий дизайн в управлінні пристроями Картки",
82
95
  "zh-cn": "设备管理卡中的新设计"
83
- },
84
- "1.21.31": {
85
- "en": "Display more Infos and colors in Cards",
86
- "de": "Mehr Infos und Farben in Karten anzeigen",
87
- "ru": "Показать больше информации и цветов в картах",
88
- "pt": "Mostrar mais informações e cores nos cartões",
89
- "nl": "Meer informatie en kleuren in kaarten tonen",
90
- "fr": "Afficher plus Infos et couleurs dans les Cartes",
91
- "it": "Visualizza maggiori informazioni e colori nelle carte",
92
- "es": "Mostrar más Información y colores en tarjetas",
93
- "pl": "Wyświetl więcej informacji i kolorów w kartach",
94
- "uk": "Показати більше інформації та кольорів в картках",
95
- "zh-cn": "在卡片中显示更多信息和颜色"
96
96
  }
97
97
  },
98
98
  "titleLang": {
@@ -3418,6 +3418,10 @@ class bridgeClass extends EventEmiter {
3418
3418
  topic: DiscoveryTopic,
3419
3419
  payload: structuredClone(DiscoveryPayload),
3420
3420
  ids: config.CoverIds,
3421
+ limitLogic: {
3422
+ open: config.CoverOpenSignalTrue,
3423
+ close: config.CoverClosedSignalTrue,
3424
+ },
3421
3425
  informations: informations,
3422
3426
  from: 'foreignDevices',
3423
3427
  });
@@ -354,8 +354,8 @@ class bridgeDevicesClass {
354
354
  control: 'text',
355
355
  // Style the text based on the boolean value.
356
356
  label: preLabel + label,
357
- trueText: 'nicht Offen',
358
- falseText: 'Aufgefahren',
357
+ trueText: discovery.limitLogic.open ? 'Aufgefahren' : 'nicht aufgefahren',
358
+ falseText: discovery.limitLogic.open ? 'nicht aufgefahren' : 'Aufgefahren',
359
359
  };
360
360
  }
361
361
  if (discovery.ids.closedSignal) {
@@ -363,7 +363,7 @@ class bridgeDevicesClass {
363
363
  `Start building Light On for Id: ${discovery.ids.closedSignal}`,
364
364
  );
365
365
  usedId[discovery.ids.closedSignal] = true;
366
- card = { preLabel: '', label: 'Unten (geschlossen)' };
366
+ card = { preLabel: '', label: 'Unten (zu)' };
367
367
  card = lodash.merge(card, deviceValue.ids[discovery.ids.closedSignal].object.native?.card);
368
368
  const preLabel = card.preLabel ?? '';
369
369
  let label = '';
@@ -385,8 +385,8 @@ class bridgeDevicesClass {
385
385
  control: 'text',
386
386
  // Style the text based on the boolean value.
387
387
  label: preLabel + label,
388
- trueText: 'nicht geschlossen',
389
- falseText: 'Zugefahren',
388
+ trueText: discovery.limitLogic.close ? 'Zugefahren' : 'nicht zugefahren',
389
+ falseText: discovery.limitLogic.close ? 'nicht zugefahren' : 'Zugefahren',
390
390
  };
391
391
  }
392
392
  break;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iobroker.lorawan",
3
- "version": "1.22.5",
3
+ "version": "1.22.6",
4
4
  "description": "converts the desired lora gateway data to a ioBroker structure",
5
5
  "author": {
6
6
  "name": "BenAhrdt",