iobroker.zigbee2mqtt 3.0.9 → 3.0.13

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/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2025 Arthur Rupp <arteck@outlook.com>,
3
+ Copyright (c) 2025-2026 Arthur Rupp <arteck@outlook.com>,
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -22,6 +22,22 @@ This adapter allows to control the data points of the devices of a Zigbee2MQTT i
22
22
  [Adapter Documentation](https://github.com/arteck/ioBroker.zigbee2mqtt/blob/main/docs/wiki.md)
23
23
 
24
24
  ## Changelog
25
+ ### 3.0.13 (2026-01-25)
26
+ * (arteck) add action dp
27
+
28
+ ### 3.0.12 (2026-01-05)
29
+ * (arteck) Dependencies have been updated
30
+ * (MMeinhardt1) typo fix
31
+
32
+ ### 3.0.11 (2025-12-31)
33
+ - (arteck) fix info.connection
34
+
35
+ ### 3.0.10 (2025-12-07)
36
+ - (arteck) Dependencies have been updated
37
+ - (bluefox) Changed role of `color_temp_startup` state to `level` to avoid double `level.temperature` in one device
38
+ - (arteck) fix ZBMINIR2 inching DP
39
+ - (arteck) delete DP colortempstartup
40
+
25
41
  ### 3.0.9 (2025-06-19)
26
42
  - (bjoernbusch) queue up message parsing
27
43
  - (dotcom84) Support for non-default MQTT base topics
@@ -37,250 +53,9 @@ This adapter allows to control the data points of the devices of a Zigbee2MQTT i
37
53
  - (arteck) settings restructure
38
54
  - (arteck) fix icon not found message
39
55
 
40
- ### 3.0.5 (2025-05-29)
41
- - (arteck) add additional folder for some devices (like smoke detector)
42
- - (arteck) state.js cleanup
43
- - (arteck) set available State to true if device message include last_seen status
44
-
45
- ### 3.0.4 (2025-05-11)
46
- - (arteck) update admin
47
-
48
- ### 3.0.3 (2025-02-03)
49
- - (arteck) corr illuminance (del illuminance_raw)
50
- - (arteck) indicator.alarm.flood
51
-
52
- ### 3.0.2 (2025-01-06)
53
- - (simateck) corr WebSocket connection
54
-
55
- ### 3.0.1 (2025-01-04)
56
- - (arteck) corr icon download
57
-
58
- ### 3.0.0 (2025-01-04)
59
- - (arteck) adaptation z2m 2.x
60
-
61
- ### 2.13.11 (2024-10-17)
62
- - (arteck) corr package.json
63
-
64
- ### 2.13.10 (2024-09-05)
65
- - (arteck) update dependecy
66
- - (arteck) add available object for groups
67
-
68
- ### 2.13.9 (2024-05-13)
69
- - (arteck) fix lint
70
- - (arteck) update dependecy
71
-
72
- ### 2.13.9 (2024-05-13)
73
- - (arteck) fix lint
74
- - (arteck) update dependecy
75
-
76
- ### 2.13.8 (2024-05-13)
77
- - (arteck) fix icon path
78
-
79
- ### 2.13.7 (2024-04-20)
80
- - (arteck) core dependecy
81
- - (arteck) update dependecy
82
- - (pepp86) Enable occupancy to be always updated if true
83
-
84
- ### 2.13.6 (2024-03-11)
85
- - (arteck) update dependecy
86
-
87
- ### 2.13.5 (2024-02-02)
88
- - (arteck) fixed mqttClient.end()
89
-
90
- ### 2.13.4 (2023-12-17)
91
-
92
- - (o0shojo0o) fixed unnecessary warning for special value ([269](https://github.com/arteck/ioBroker.zigbee2mqtt/issues/269))
93
-
94
- ### 2.13.3 (2023-10-10)
95
-
96
- - (o0shojo0o) fixed devices erroneous offline indication ([#255](https://github.com/arteck/ioBroker.zigbee2mqtt/issues/255))
97
-
98
- ### 2.13.2 (2023-09-30)
99
-
100
- - (o0shojo0o) fixed NULL values when HASS integration is enabled in zigbee2mqtt
101
-
102
- ### 2.13.1 (2023-09-07)
103
-
104
- - (o0shojo0o) fixed storage name
105
-
106
- ### 2.13.0 (2023-09-07)
107
-
108
- - (o0shojo0o) added state `info.coordinator_check` ([#247](https://github.com/arteck/ioBroker.zigbee2mqtt/issues/247))
109
- - (o0shojo0o) added state `info.missing_routers` ([#247](https://github.com/arteck/ioBroker.zigbee2mqtt/issues/247))
110
- - (o0shojo0o) added state `info.missing_routers_count` ([#247](https://github.com/arteck/ioBroker.zigbee2mqtt/issues/247))
111
- - (o0shojo0o) added option `Automatic check for missing routers in the coordinator memory` ([#247](https://github.com/arteck/ioBroker.zigbee2mqtt/issues/247))
112
-
113
- ### 2.12.0 (2023-09-05)
114
-
115
- - (o0shojo0o) added option `Size of the object icons in pixels`
116
-
117
- ### 2.11.0 (2023-08-24)
118
-
119
- - (o0shojo0o) added automatic download of device image from zigbee2mqtt to meta-storage
120
- - (o0shojo0o) device images from Meta-Storage added to the object
121
- - (o0shojo0o) device images from Meta-Storage auto resize to 28x28 pixel for smaller object
122
- - (o0shojo0o) added option `Download device images from Zigbee2Mqtt and use them as object icons.`
123
- - (o0shojo0o) fixed Hue_Move ([#223](https://github.com/arteck/ioBroker.zigbee2mqtt/issues/223))
124
- - (o0shojo0o) added option `Generate simple 'Hold' and 'Release' states`
125
- - (o0shojo0o) added option `Generate simple 'Move' and 'Stop' states`
126
- - (o0shojo0o) added option `Generate simple 'Press' and 'Release' states`
127
-
128
- ### 2.10.1 (2023-08-13)
129
-
130
- - (o0shojo0o) fixed type definitions (thx @arteck)
131
-
132
- ### 2.10.0 (2023-08-12)
133
-
134
- - (o0shojo0o) optimisation for the MQTT connection
135
- - (o0shojo0o) fixed for MQTT output type: attribute_and_json ([#87](https://github.com/arteck/ioBroker.zigbee2mqtt/issues/87))
136
- - (o0shojo0o) added support for external MQTT-Server credentials ([#148](https://github.com/arteck/ioBroker.zigbee2mqtt/issues/148))
137
- - *After update, Websocket Auth-Token must be set again, if used.*
138
-
139
- ### 2.9.0 (2023-07-21)
140
-
141
- - (o0shojo0o) added state `send_payload` to send a raw json payload
142
-
143
- ### 2.8.0 (2023-07-19)
144
-
145
- - (o0shojo0o) added WSS support for websoket connection ([#191](https://github.com/arteck/ioBroker.zigbee2mqtt/issues/191))
146
- - (o0shojo0o) small fixes
147
-
148
- ### 2.7.5 (2023-04-08)
149
-
150
- - (o0shojo0o) added state `last_seen` contains date/time of last Zigbee message ([#131](https://github.com/arteck/ioBroker.zigbee2mqtt/issues/131))
151
-
152
- ### 2.7.4 (2023-03-05)
153
-
154
- - (o0shojo0o) fixed for Aqara presence detector FP1 `reset_nopresence_status`
155
-
156
- ### 2.7.3 (2023-02-18)
157
-
158
- - (o0shojo0o) hotfix for Aqara presence detector FP1
159
-
160
- ### 2.7.2 (2023-02-01)
161
-
162
- - (o0shojo0o) rework of the detection of removed devices
163
-
164
- ### 2.7.1 (2023-01-24)
165
-
166
- - (arteck) added option for use folder description
167
- - (arteck) use the iobroker device folder description for device description or events
168
-
169
- ### 2.7.0 (2023-01-18)
170
-
171
- - (o0shojo0o) added support for wildcard actions (eg. *_single) ([#116](https://github.com/arteck/ioBroker.zigbee2mqtt/issues/116))
172
- - (o0shojo0o) added error handling optimizations ([more](https://github.com/ioBroker/ioBroker.repositories/pull/1976#issuecomment-1382038679))
173
- - (o0shojo0o) added option `auth_token` for websocket connection ([#112](https://github.com/arteck/ioBroker.zigbee2mqtt/issues/112))
174
- - (o0shojo0o) websocket timeout increased
175
-
176
- ### 2.6.0 (2023-01-10)
177
-
178
- - (o0shojo0o) added state `transition` for transition overwrite (-1 disabled overwrite) ([#101](https://github.com/arteck/ioBroker.zigbee2mqtt/issues/101))
179
- - (o0shojo0o) consideration of the description when creating the friendly name ([#105](https://github.com/arteck/ioBroker.zigbee2mqtt/issues/105))
180
- - (o0shojo0o) added state `effect` for groups ([#101](https://github.com/arteck/ioBroker.zigbee2mqtt/issues/101))
181
- - (o0shojo0o) fixed state contact
182
- - (o0shojo0o) added handling for disabled devices
183
-
184
- ### 2.5.0 (2023-01-02)
185
-
186
- - (o0shojo0o) added option `Brightness step should also turn the light on or off`
187
- - (o0shojo0o) added handling of `brightness_step` ([#96](https://github.com/arteck/ioBroker.zigbee2mqtt/issues/96))
188
- - (o0shojo0o) states processing more flexible designed ([#94](https://github.com/arteck/ioBroker.zigbee2mqtt/issues/94))
189
-
190
- ### 2.4.5 (2022-12-20)
191
-
192
- - (o0shojo0o) extend `text` for `action` ([#84](https://github.com/arteck/ioBroker.zigbee2mqtt/issues/84))
193
-
194
- ### 2.4.4 (2022-12-06)
195
-
196
- - (o0shojo0o) better state identification ([#79](https://github.com/arteck/ioBroker.zigbee2mqtt/issues/79))
197
-
198
- ### 2.4.3 (2022-11-23)
199
-
200
- - (o0shojo0o) fixed availability when `friendly_name` `/` contains
201
-
202
- ### 2.4.2 (2022-11-20)
203
-
204
- - (o0shojo0o) added correct handling of `move_to_saturation`, `hue_move` and `brightness_move_to_level` ([#68](https://github.com/arteck/ioBroker.zigbee2mqtt/issues/68))
205
- - (o0shojo0o) fixed when `friendly_name` `/` contains
206
-
207
- ### 2.4.1 (2022-11-16)
208
-
209
- - (o0shojo0o) fixed based on [review](https://github.com/ioBroker/ioBroker.repositories/pull/1976#issuecomment-1316656378)
210
-
211
- ### 2.4.0 (2022-11-08)
212
-
213
- - (o0shojo0o) fixed for devices with multiple endpoints ([#57](https://github.com/arteck/ioBroker.zigbee2mqtt/issues/57)).
214
- - (o0shojo0o) added option `Brightness move should also turn the light on or off`
215
- - (o0shojo0o) added state toggle for groups
216
- - (o0shojo0o) more dynamic during data point creation ([#48](https://github.com/arteck/ioBroker.zigbee2mqtt/issues/48)).
217
-
218
- ### 2.3.0 (2022-10-30)
219
-
220
- - (o0shojo0o) added support for the `toggle` of states that support this.
221
- - (o0shojo0o) added correct handling of `color_move` and `color_temperature_move`
222
-
223
- ### 2.2.1 (2022-10-25)
224
-
225
- - (o0shojo0o) fixed state roles and access
226
- - (o0shojo0o) fixed state handling
227
- - (o0shojo0o) fixed createZ2MMessage
228
-
229
- ### 2.2.0 (2022-10-20)
230
-
231
- - (o0shojo0o) added support for [Lidl HG06467 effects](https://www.zigbee2mqtt.io/devices/HG06467.html#trigger-effects)
232
- - (o0shojo0o) added support for hs color
233
- - (o0shojo0o) `simulated_brightness` data point is added only for supported devices
234
-
235
- ### 2.1.1 (2022-10-16)
236
-
237
- - (o0shojo0o) advanced detection if a device has been removed
238
- - (o0shojo0o) fixes the design error in the websocket connection
239
-
240
- ### 2.1.0 (2022-10-14)
241
-
242
- - (o0shojo0o) added option for color temperature sync with color
243
- - (o0shojo0o) fixed logfilter and debugDevices
244
- - (o0shojo0o) lots of bugfixes
245
- - (o0shojo0o) now set the correct min/max at color temp
246
- - (o0shojo0o) better error handling for the connections
247
-
248
- ### 2.0.0 (2022-10-12)
249
-
250
- **!!!BREAKING CHANGE!!!**
251
-
252
- - (o0shojo0o) added configurable connection to Zigbee2MQTT (Settings must be renewed)
253
- - Websocket
254
- - External MQTT-Server
255
- - Internal MQTT-Server
256
- - (o0shojo0o) optimized state writing performance in ioBroker
257
- - (o0shojo0o) fixed the correct set of the connection status
258
-
259
- ### 1.0.0 (2022-10-09)
260
-
261
- **!!!BREAKING CHANGE!!!**
262
-
263
- - (o0shojo0o) added options for external MQTT-Server
264
- - (o0shojo0o) connection to zigbee2mqtt completely reworked and changed to MQTT
265
- - (o0shojo0o) lots of bugfixes
266
- - (o0shojo0o) automatically set button actions back to false
267
- - (o0shojo0o) added support for Zigbee2MQTT feature simulated_brightness
268
- - (o0shojo0o) added config check
269
- - (o0shojo0o) added log output about coordinator details
270
-
271
- ### 0.2.0 (2022-10-04)
272
-
273
- - (o0shojo0o) group states corrected
274
- - (o0shojo0o) added option 'Use Kelvin instead of mired for the color temps'
275
- - (o0shojo0o) remove available logic, now will use the information from z2m
276
- - (o0shojo0o) rename noLogDevices to logfilter
277
- - (o0shojo0o) lots of bugfixes
278
- - (o0shojo0o) added noLogDevices functionality
279
- - (o0shojo0o) added debugmessage for specific device functionality
280
- - (o0shojo0o) added some states are default false
281
- - (o0shojo0o) added support for scenes defined on a device
282
- - (o0shojo0o) fixed available state role
283
- - (o0shojo0o) fixed edsubscribeWritableStates
56
+ .
57
+ .
58
+ .
284
59
 
285
60
  ### 0.1.0 (2022-09-29)
286
61
 
@@ -290,7 +65,7 @@ This adapter allows to control the data points of the devices of a Zigbee2MQTT i
290
65
 
291
66
  MIT License
292
67
 
293
- Copyright (c) 2025 Arthur Rupp <arteck@outlook.com>,
68
+ Copyright (c) 2025-2026 Arthur Rupp <arteck@outlook.com>,
294
69
 
295
70
  Permission is hereby granted, free of charge, to any person obtaining a copy
296
71
  of this software and associated documentation files (the "Software"), to deal
package/io-package.json CHANGED
@@ -1,8 +1,60 @@
1
1
  {
2
2
  "common": {
3
3
  "name": "zigbee2mqtt",
4
- "version": "3.0.9",
4
+ "version": "3.0.13",
5
5
  "news": {
6
+ "3.0.13": {
7
+ "en": "add action dp",
8
+ "de": "aktion dp hinzufügen",
9
+ "ru": "добавить действие dp",
10
+ "pt": "adicionar ação dp",
11
+ "nl": "actie dp toevoegen",
12
+ "fr": "ajouter action dp",
13
+ "it": "aggiungere azione",
14
+ "es": "añadir acción dp",
15
+ "pl": "dodaj działanie dp",
16
+ "uk": "додати дію dp",
17
+ "zh-cn": "添加动作 dp"
18
+ },
19
+ "3.0.12": {
20
+ "en": "Dependencies have been updated\ntypo fix",
21
+ "de": "Abhängigkeiten wurden aktualisiert\ntypo fix",
22
+ "ru": "Зависимости были обновлены\nисправление опечаток",
23
+ "pt": "As dependências foram atualizadas\nerro de digitação",
24
+ "nl": "Afhankelijkheden zijn bijgewerkt\ntypo-fix",
25
+ "fr": "Les dépendances ont été actualisées\ncorrection du type",
26
+ "it": "Le dipendenze sono state aggiornate\ncorrezione di errore",
27
+ "es": "Se han actualizado las dependencias\ntypo fix",
28
+ "pl": "Zaktualizowano zależności\nfix typo",
29
+ "uk": "Залежність було оновлено\nтипофікс",
30
+ "zh-cn": "依赖关系已更新\n类型修复"
31
+ },
32
+ "3.0.11": {
33
+ "en": "fix info.connection",
34
+ "de": "fix info.connection",
35
+ "ru": "обсуждение fix info.connection",
36
+ "pt": "corrigir info.connection",
37
+ "nl": "fix info.connection",
38
+ "fr": "corriger info.connection",
39
+ "it": "fix info.connection",
40
+ "es": "arreglar info.conexión",
41
+ "pl": "fix info.connection",
42
+ "uk": "фіксувати інформацію.connection",
43
+ "zh-cn": "修复信息.连接"
44
+ },
45
+ "3.0.10": {
46
+ "en": "Dependencies have been updated\nChanged role of `color_temp_startup` state to `level` to avoid double `level.temperature` in one device\nfix ZBMINIR2 inching DP\ndelete DP colortempstartup",
47
+ "de": "Abhängigkeiten wurden aktualisiert\nÄnderung der Rolle von `color_temp_startup` Zustand auf `level`, um Doppel `level.temperature` in einem Gerät zu vermeiden\nzBMINIR2 Inch DP reparieren\nlöschen DP colortempstartup",
48
+ "ru": "Зависимости были обновлены\nИзменилась роль состояния «color_temp_startup» до «level», чтобы избежать двойной «level.temperature» в одном устройстве\nzBMINIR2 Inching DP\nудалить DP colortempstartup",
49
+ "pt": "As dependências foram atualizadas\nPapel alterado do estado de `color_temp_startup` para `level` para evitar o duplo `level.temperature` em um dispositivo\ncorrigir ZBMINIR2 nching DP\napagar DP colortempstartup",
50
+ "nl": "Afhankelijkheden zijn bijgewerkt\nVeranderde rol van Color_temp_startup\nfix ZBMINIR2 inching DP\nverwijderen DP colortempstartup",
51
+ "fr": "Les dépendances ont été actualisées\nChangement du rôle de l'état `color_temp_startup` à `level` pour éviter le double `level.temperature` dans un seul appareil\ncorrection de l'encoche ZBMINIR2 DP\nsupprimer DP colortempstartup",
52
+ "it": "Le dipendenze sono state aggiornate\nCambiato ruolo di `color_temp_startup` stato a `level` per evitare doppio `level.temperature` in un dispositivo\ncorrezione ZBMINIR2 inching DP\neliminare DP colortempstartup",
53
+ "es": "Se han actualizado las dependencias\nCambiar el papel de `color_temp_startup` estado a `nivel` para evitar el doble `nivel.temperatura` en un dispositivo\nfijar ZBMINIR2 inching DP\neliminar DP colortempstartup",
54
+ "pl": "Zaktualizowano zależności\nZmieniona rola 'color _ temp _ startup' stanu na 'poziom', aby uniknąć podwójnego 'level.temperature' w jednym urządzeniu\nfix ZBMINIR2 inching DP\nusuń odtwarzacz kolorów DP",
55
+ "uk": "Залежність було оновлено\nЗмінена роль `color_temp_startup` для `level`, щоб уникнути подвійного рівня `level. Температура` в одному пристрої\nзафіксувати ZBMINIR2 інвертор ДП\nвидалити DP Colortempstartup",
56
+ "zh-cn": "依赖关系已更新\n将“color_temp_startup”状态的作用改为“level”,以避免一个设备中的双“level.teperature”\n修补 ZBMINIR2 插入 DP\n删除 DP 调色符启动"
57
+ },
6
58
  "3.0.9": {
7
59
  "en": "queue up message parsing\nSupport for non-default MQTT base topics",
8
60
  "de": "nachrichtenparsing löschen\nUnterstützung für nicht-Standard-MQTT-Basisthemen",
@@ -41,58 +93,6 @@
41
93
  "pl": "fix jsconconf",
42
94
  "uk": "закріпити jsconconf",
43
95
  "zh-cn": "修复 jsconconconf"
44
- },
45
- "3.0.6": {
46
- "en": "settings restructure\nfix icon not found message",
47
- "de": "einstellungen restrukturieren\nsymbol nicht gefunden",
48
- "ru": "реструктуризация настроек\nисправить иконку не найдено сообщение",
49
- "pt": "reestruturação de configurações\ncorrigir ícone não encontrado mensagem",
50
- "nl": "instellingen herstructureren\npictogram niet gevonden bericht herstellen",
51
- "fr": "restructuration des paramètres\ncorrection icône non trouvée message",
52
- "it": "installazione\nfix icona non trovato messaggio",
53
- "es": "configuración de reestructuración\nfijar icono no encontrado mensaje",
54
- "pl": "restrukturyzacja ustawień\nnie znaleziono ikony",
55
- "uk": "реструктуризація параметрів\nне знайдено повідомлення",
56
- "zh-cn": "设置调整\n未找到消息的修复图标"
57
- },
58
- "3.0.5": {
59
- "en": "add additional folder for some devices (like smoke detector)\nstate.js cleanup\nset available State to true if device message include last_seen status",
60
- "de": "zusätzliche ordner für einige geräte hinzufügen (wie rauchmelder)\nstate.js cleanup\neingestellt verfügbar Zustand, um wahr zu sein, wenn die Gerätenachricht last_seen status enthält",
61
- "ru": "добавьте дополнительную папку для некоторых устройств (например, детектор дыма)\nочистка state.js\nустановленное состояние истинно, если сообщение устройства включает в себя статус last_seen",
62
- "pt": "adicionar pasta adicional para alguns dispositivos (como detector de fumaça)\nlimpeza state.js\nset available Estado para true se a mensagem do dispositivo incluir status last_seen",
63
- "nl": "extra map toevoegen voor sommige apparaten (zoals rookmelder)\nstate.js opruimen\nbeschikbare status instellen op true als apparaatbericht laatste_geziene status bevat",
64
- "fr": "ajouter un dossier supplémentaire pour certains appareils (comme le détecteur de fumée)\nétat.js nettoyage\ndéfinir l'État disponible à true si le message de périphérique inclut le statut last_seen",
65
- "it": "aggiungere cartella aggiuntiva per alcuni dispositivi (come rilevatore di fumo)\nstato.js pulizia\nse il messaggio del dispositivo include lo stato di last_seen",
66
- "es": "añadir carpeta adicional para algunos dispositivos (como detector de humos)\nestado.js limpieza\nestado disponible para ver si el mensaje del dispositivo incluye el estado de último visto",
67
- "pl": "dodaj dodatkowy folder dla niektórych urządzeń (np. czujnik dymu)\nstan. js cleanup\nustaw dostępny stan na true jeśli wiadomość urządzenia zawiera status last _ seen",
68
- "uk": "додати додаткову папку для деяких пристроїв (наприклад, детектор диму)\nстан.js cleanup\nвстановити доступну державу, якщо повідомлення про пристрій включають статус останнього_seen",
69
- "zh-cn": "为一些设备添加额外的文件夹( 如烟雾探测器)\n状态.js 清理\n如果设备消息包含最后的_ Seenn 状态, 将可用状态设定为 true"
70
- },
71
- "3.0.4": {
72
- "en": "update admin",
73
- "de": "admin",
74
- "ru": "обновление admin",
75
- "pt": "atualização admin",
76
- "nl": "admin bijwerken",
77
- "fr": "mettre à jour l'administrateur",
78
- "it": "aggiornamento",
79
- "es": "actualización admin",
80
- "pl": "aktualizacja admin",
81
- "uk": "оновлення адмін",
82
- "zh-cn": "更新管理员"
83
- },
84
- "3.0.3": {
85
- "en": "corr illuminance (del illuminance_raw)\nindicator.alarm.flood",
86
- "de": "korr illuminance (del illuminance_raw)\nindikator.alarm.flood",
87
- "ru": "коррозионная иллюминация (подлинный рисунок)\nindicator.alarm.flood",
88
- "pt": "illuminance de corr (del illuminance_raw)\nindicador.alarm.flood",
89
- "nl": "verlichtingssterkte (del verlichtingssterkte_raw)\nindicator.alarm.vloed",
90
- "fr": "illuminance du corr (del illuminance_raw)\nindicateur.alarme.inondation",
91
- "it": "illuminazione corr (del illuminance_raw)\nindicatore.alarm.flood",
92
- "es": "iluminancia del corr (iluminación del dedo_raw)\nindicador.alarm.flood",
93
- "pl": "krzak świetlny (del luminance _ raw)\nindicator.alarm.powódź",
94
- "uk": "апошні\nіндикатор.alarm.flood",
95
- "zh-cn": "corr 灯光( del 灯光_ raw)\n指标. alarm.flood"
96
96
  }
97
97
  },
98
98
  "messages": [
@@ -211,8 +211,7 @@
211
211
  "pl": "Zigbee2MQTT",
212
212
  "zh-cn": "Zigbee2MQTT"
213
213
  },
214
- "link": "%webUIScheme%://%webUIServer%:%webUIPort%",
215
- "fa-icon": "</i><img style='width:24px;margin-bottom:-6px;' src='/adapter/zigbee2mqtt/zigbee2mqtt.png'><i>"
214
+ "link": "%webUIScheme%://%webUIServer%:%webUIPort%"
216
215
  },
217
216
  "localLinks": {
218
217
  "_default": {
package/lib/check.js CHANGED
@@ -1,3 +1,9 @@
1
+ /**
2
+ *
3
+ * @param config
4
+ * @param log
5
+ * @param version
6
+ */
1
7
  function checkConfig(config, log, version) {
2
8
  const checkAPIOptions = {
3
9
  legacy_api_enabled: config.advanced.legacy_api != false,
package/lib/colors.js CHANGED
@@ -1,4 +1,4 @@
1
- /* eslint-disable no-prototype-builtins */
1
+
2
2
  'use strict';
3
3
 
4
4
  const namedColors = {
@@ -424,19 +424,33 @@ const namedColors = {
424
424
  },
425
425
  };
426
426
 
427
+ /**
428
+ *
429
+ * @param name
430
+ */
427
431
  function NamedColorToRGBstring(name) {
428
432
  const lowerName = name.toLowerCase();
429
- if (namedColors.hasOwnProperty(lowerName)) return namedColors[lowerName].rgb;
433
+ if (namedColors.hasOwnProperty(lowerName)) {
434
+ return namedColors[lowerName].rgb;
435
+ }
430
436
  return '#0088FF';
431
437
  }
432
438
 
439
+ /**
440
+ *
441
+ * @param rgbstring
442
+ */
433
443
  function ParseColor(rgbstring) {
434
444
  if (typeof rgbstring === 'string') {
435
445
  const lowerName = rgbstring.toLowerCase();
436
- if (namedColors.hasOwnProperty(lowerName)) rgbstring = namedColors[lowerName].rgb;
446
+ if (namedColors.hasOwnProperty(lowerName)) {
447
+ rgbstring = namedColors[lowerName].rgb;
448
+ }
437
449
  rgbstring = rgbstring.trim();
438
- if (rgbstring.startsWith('#')) rgbstring = rgbstring.slice(1);
439
- const val = parseInt('0x' + rgbstring);
450
+ if (rgbstring.startsWith('#')) {
451
+ rgbstring = rgbstring.slice(1);
452
+ }
453
+ const val = parseInt(`0x${ rgbstring}`);
440
454
  const oneColor = {};
441
455
  oneColor.r = Math.floor(val / (256 * 256));
442
456
  oneColor.g = Math.floor((val % (256 * 256)) / 256);
@@ -446,8 +460,14 @@ function ParseColor(rgbstring) {
446
460
  return { r: 0, g: 128, b: 255 };
447
461
  }
448
462
 
463
+ /**
464
+ *
465
+ * @param name
466
+ */
449
467
  function NamedColorToRGB(name) {
450
- if (namedColors.hasOwnProperty(name)) return ParseColor(namedColors[name].rgb);
468
+ if (namedColors.hasOwnProperty(name)) {
469
+ return ParseColor(namedColors[name].rgb);
470
+ }
451
471
  return { r: 0, g: 128, b: 255 };
452
472
  }
453
473
  module.exports = {