iobroker.lorawan 1.19.8 → 1.19.9
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 +3 -0
- package/io-package.json +14 -14
- package/lib/modules/bridgeDeviceHandler.js +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -23,6 +23,9 @@ For now there is documentation in English here: https://wiki.hafenmeister.de
|
|
|
23
23
|
Placeholder for the next version (at the beginning of the line):
|
|
24
24
|
### **WORK IN PROGRESS**
|
|
25
25
|
-->
|
|
26
|
+
### 1.19.9 (2026-01-05)
|
|
27
|
+
* (BenAhrdt) bugfix deleteing device
|
|
28
|
+
|
|
26
29
|
### 1.19.8 (2026-01-05)
|
|
27
30
|
* (BenAhrdt) implement Link to device
|
|
28
31
|
|
package/io-package.json
CHANGED
|
@@ -1,8 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "lorawan",
|
|
4
|
-
"version": "1.19.
|
|
4
|
+
"version": "1.19.9",
|
|
5
5
|
"news": {
|
|
6
|
+
"1.19.9": {
|
|
7
|
+
"en": "bugfix deleteing device",
|
|
8
|
+
"de": "bugfix löschgerät",
|
|
9
|
+
"ru": "bugfix удаление устройства",
|
|
10
|
+
"pt": "dispositivo de remoção de correções de erros",
|
|
11
|
+
"nl": "bugfix verwijderapparaat",
|
|
12
|
+
"fr": "bugfix supprimer le périphérique",
|
|
13
|
+
"it": "bugfix dispositivo di cancellazione",
|
|
14
|
+
"es": "bugfix dispositivo de eliminación",
|
|
15
|
+
"pl": "urządzenie do usuwania błędów",
|
|
16
|
+
"uk": "пристрій видалення помилок",
|
|
17
|
+
"zh-cn": "错误修正删除设备"
|
|
18
|
+
},
|
|
6
19
|
"1.19.8": {
|
|
7
20
|
"en": "implement Link to device",
|
|
8
21
|
"de": "durchführung Link zum Gerät",
|
|
@@ -80,19 +93,6 @@
|
|
|
80
93
|
"pl": "dodawanie wersji i domeny do automatyzacji",
|
|
81
94
|
"uk": "додати версію та домен до автоматизації",
|
|
82
95
|
"zh-cn": "在自动化中添加版本和域"
|
|
83
|
-
},
|
|
84
|
-
"1.19.2": {
|
|
85
|
-
"en": "bugfix filldownlink",
|
|
86
|
-
"de": "fehlerbehebungen",
|
|
87
|
-
"ru": "bugfix filldownlink",
|
|
88
|
-
"pt": "ligação de preenchimento de correções de erros",
|
|
89
|
-
"nl": "bugfix filldownlink",
|
|
90
|
-
"fr": "bugfix remplissagelien",
|
|
91
|
-
"it": "bugfix filldownlink",
|
|
92
|
-
"es": "bugfix rellenolink",
|
|
93
|
-
"pl": "bugfix fishdownlink",
|
|
94
|
-
"uk": "javascript licenses api веб-сайт",
|
|
95
|
-
"zh-cn": "臭虫补全下行链路"
|
|
96
96
|
}
|
|
97
97
|
},
|
|
98
98
|
"titleLang": {
|
|
@@ -171,7 +171,9 @@ class bridgeDeviceHandlerClass {
|
|
|
171
171
|
if (!Object.keys(message.entities).includes(entityId)) {
|
|
172
172
|
const entityInfo = this.generateStructure(entities[entityId]);
|
|
173
173
|
await this.adapter.delObjectAsync(entityInfo?.state.id);
|
|
174
|
-
checkDevices[entityInfo?.device.id]
|
|
174
|
+
if (!checkDevices[entityInfo?.device.id]) {
|
|
175
|
+
checkDevices[entityInfo?.device.id] = {};
|
|
176
|
+
}
|
|
175
177
|
if (entityInfo?.channel.id) {
|
|
176
178
|
checkDevices[entityInfo?.device.id][entityInfo?.channel.id] = {};
|
|
177
179
|
}
|
|
@@ -180,7 +182,6 @@ class bridgeDeviceHandlerClass {
|
|
|
180
182
|
// Check for delete channels and devices
|
|
181
183
|
for (const deviceId of Object.keys(checkDevices)) {
|
|
182
184
|
let foundStateInAnyChannel = false;
|
|
183
|
-
|
|
184
185
|
// Check channel
|
|
185
186
|
for (const channelId of Object.keys(checkDevices[deviceId])) {
|
|
186
187
|
const channelParams = {
|
|
@@ -199,7 +200,6 @@ class bridgeDeviceHandlerClass {
|
|
|
199
200
|
foundStateInAnyChannel = true;
|
|
200
201
|
continue;
|
|
201
202
|
}
|
|
202
|
-
|
|
203
203
|
// No state
|
|
204
204
|
await this.adapter.delObjectAsync(channelId, { recursive: true });
|
|
205
205
|
this.adapter.log.debug(`Deleted empty channel: ${channelId}`);
|