iobroker.lorawan 1.22.16 → 1.22.17

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.17 (2026-06-07)
28
+ - (BenAhrdt) Fixed writing valid zero values from bridged Home Assistant entities to ioBroker states.
29
+
27
30
  ### 1.22.16 (2026-06-06)
28
31
  - (BenAhrdt) Bugfix COver in ToIob
29
32
 
@@ -38,10 +41,6 @@ For now there is documentation in English here: https://wiki.hafenmeister.de
38
41
  - (BenAhrdt) Changes in io-package.
39
42
  - (BenAhrdt) Changes in package.json
40
43
 
41
- ### 1.22.12 (2026-05-09)
42
- - (copilot) Adapter requires node.js >= 22 now
43
- * (BenAhrdt) Default Bridge all downlink.control and uplink.decoded to bridge
44
-
45
44
  [Older changes can be found there](CHANGELOG_OLD.md)
46
45
 
47
46
  ## License
package/io-package.json CHANGED
@@ -1,8 +1,21 @@
1
1
  {
2
2
  "common": {
3
3
  "name": "lorawan",
4
- "version": "1.22.16",
4
+ "version": "1.22.17",
5
5
  "news": {
6
+ "1.22.17": {
7
+ "en": "Fixed writing valid zero values from bridged Home Assistant entities to ioBroker states.",
8
+ "de": "Behobenes Schreiben gültige Nullwerte von überbrückten Home Assistant-Einheiten zu ioBroker-Staaten.",
9
+ "ru": "Фиксированная запись действительных нулевых значений от подключенных объектов Home Assistant до штатов ioBroker.",
10
+ "pt": "Corrigido escrevendo valores zero válidos de entidades bridged Home Assistant para estados ioBroker.",
11
+ "nl": "Vaste schrijven geldig nul waarden van brugd Home Assistent entiteiten naar ioBroker staten.",
12
+ "fr": "Correction de l'écriture de valeurs nulles valides des entités d'aide à la maison pontées aux états ioBroker.",
13
+ "it": "Scrittura fissa valori zero validi da entità di Home Assistant colate a stati ioBroker.",
14
+ "es": "Escribir valores nulos válidos de las entidades auxiliares de casa puenteadas a los estados de yoBroker.",
15
+ "pl": "Naprawiono pisanie poprawnych wartości zerowych z zaokrąglonych jednostek Home Assistant do stanów jOBroker.",
16
+ "uk": "Фіксоване написання дійсних нульових значень з містованих домашніх помічників для ioBroker штатів.",
17
+ "zh-cn": "固定写入有效的零值,从桥接的家用助理实体到ioBroker状态."
18
+ },
6
19
  "1.22.16": {
7
20
  "en": "Bugfix COver in ToIob",
8
21
  "de": "Bugfix COver in ToIob",
@@ -80,19 +93,6 @@
80
93
  "pl": "poprawna wartość domyślna dla pauzy (worx)",
81
94
  "uk": "виправлено значення за замовчуванням для паузи (worx)",
82
95
  "zh-cn": "校正暂停( worx) 的默认值"
83
- },
84
- "1.22.10": {
85
- "en": "implements button in card",
86
- "de": "implementiert knopf in der karte",
87
- "ru": "реализует кнопку в карточке",
88
- "pt": "implementa o botão no cartão",
89
- "nl": "implementeert knop in kaart",
90
- "fr": "implémente bouton dans la carte",
91
- "it": "implementa il pulsante nella scheda",
92
- "es": "implementa el botón en la tarjeta",
93
- "pl": "implementuje przycisk w karcie",
94
- "uk": "реалізується кнопка в картці",
95
- "zh-cn": "执行卡中的按钮"
96
96
  }
97
97
  },
98
98
  "titleLang": {
@@ -210,8 +210,8 @@ class bridgeDeviceHandlerClass {
210
210
  }
211
211
  if (
212
212
  this.adapter.objectExists(state.id) &&
213
- stateValue != null &&
214
- stateValue !== 0 &&
213
+ state.val != null &&
214
+ !Number.isNaN(stateValue) &&
215
215
  stateValue != '#000000'
216
216
  ) {
217
217
  await this.adapter.setState(state.id, stateValue, true);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iobroker.lorawan",
3
- "version": "1.22.16",
3
+ "version": "1.22.17",
4
4
  "description": "converts the desired lora gateway data to a ioBroker structure",
5
5
  "author": {
6
6
  "name": "BenAhrdt",