iobroker.lorawan 1.22.15 → 1.22.16

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.16 (2026-06-06)
28
+ - (BenAhrdt) Bugfix COver in ToIob
29
+
27
30
  ### 1.22.15 (2026-06-05)
28
31
  - (BenAhrdt) Add roles for some new devices
29
32
 
@@ -39,8 +42,7 @@ For now there is documentation in English here: https://wiki.hafenmeister.de
39
42
  - (copilot) Adapter requires node.js >= 22 now
40
43
  * (BenAhrdt) Default Bridge all downlink.control and uplink.decoded to bridge
41
44
 
42
- ### 1.22.11 (2026-04-20)
43
- * (BenAhrdt) correct default value for pause (worx)
45
+ [Older changes can be found there](CHANGELOG_OLD.md)
44
46
 
45
47
  ## License
46
48
  MIT License
package/io-package.json CHANGED
@@ -1,8 +1,21 @@
1
1
  {
2
2
  "common": {
3
3
  "name": "lorawan",
4
- "version": "1.22.15",
4
+ "version": "1.22.16",
5
5
  "news": {
6
+ "1.22.16": {
7
+ "en": "Bugfix COver in ToIob",
8
+ "de": "Bugfix COver in ToIob",
9
+ "ru": "Bugfix COver в ToIob",
10
+ "pt": "Correção de Erros no Tolob",
11
+ "nl": "Bugfix COver in Toiob",
12
+ "fr": "Bugfix Cover dans TOIob",
13
+ "it": "Bugfix COver in ToIob",
14
+ "es": "Bugfix COver en ToIob",
15
+ "pl": "Bugfix Cover w Tołobie",
16
+ "uk": "Бугфікс Ковер в Тойоб",
17
+ "zh-cn": "在 ToIob 中错误修正 Cover"
18
+ },
6
19
  "1.22.15": {
7
20
  "en": "Add roles for some new devices",
8
21
  "de": "Rollen für einige neue Geräte hinzufügen",
@@ -80,19 +93,6 @@
80
93
  "pl": "implementuje przycisk w karcie",
81
94
  "uk": "реалізується кнопка в картці",
82
95
  "zh-cn": "执行卡中的按钮"
83
- },
84
- "1.22.9": {
85
- "en": "error resolve git push",
86
- "de": "fehler beheben git push",
87
- "ru": "решение ошибки git push",
88
- "pt": "erro resolver git push",
89
- "nl": "fout bij oplossen git push",
90
- "fr": "erreur résoudre git push",
91
- "it": "errore risolvere git push",
92
- "es": "error resolver git push",
93
- "pl": "błąd rozwiązać git push",
94
- "uk": "виправлення помилок git push",
95
- "zh-cn": "错误解析 git 推"
96
96
  }
97
97
  },
98
98
  "titleLang": {
@@ -439,11 +439,22 @@ class bridgeDeviceHandlerClass {
439
439
  read: true,
440
440
  write: true,
441
441
  states: entity.capabilities.commands.states ? entity.capabilities.commands.states : undefined,
442
- val: entity.capabilities.commands.states
443
- ? this.getKeyOfState(entity.state, entity.capabilities.commands.states)
444
- : entity.state,
442
+ val: null,
445
443
  isAttribute: true,
446
444
  });
445
+
446
+ state.push({
447
+ id: `${channel.id}.state`,
448
+ name: clearStatename || stateId,
449
+ type: 'string',
450
+ role: this.detectRole(entity, type),
451
+ read: true,
452
+ write: true,
453
+ states: entity.capabilities.commands.states ? entity.capabilities.commands.states : undefined,
454
+ val: entity.state,
455
+ isAttribute: true,
456
+ });
457
+
447
458
  if (entity.attributes.current_position !== undefined) {
448
459
  state.push({
449
460
  id: `${channel.id}.currentPosition`,
@@ -141,7 +141,6 @@ class bridgeMqttClientClass {
141
141
  this.adapter.log[this.adapter.logtypes.bridgeMqtt]?.(
142
142
  `Publishing bridge topic: ${topic} with message: ${message}.`,
143
143
  );
144
-
145
144
  // Write into debug
146
145
  if (await this.adapter.objectExists('bridge.debug.outgoingTopic')) {
147
146
  if (topic.includes(this.filter.outgoing)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iobroker.lorawan",
3
- "version": "1.22.15",
3
+ "version": "1.22.16",
4
4
  "description": "converts the desired lora gateway data to a ioBroker structure",
5
5
  "author": {
6
6
  "name": "BenAhrdt",
@@ -33,7 +33,7 @@
33
33
  "node-schedule": "^2.1.1"
34
34
  },
35
35
  "devDependencies": {
36
- "@alcalzone/release-script": "^5.2.0",
36
+ "@alcalzone/release-script": "^5.2.1",
37
37
  "@alcalzone/release-script-plugin-iobroker": "^5.2.0",
38
38
  "@alcalzone/release-script-plugin-license": "^5.2.0",
39
39
  "@alcalzone/release-script-plugin-manual-review": "^5.2.0",