iobroker.zigbee2mqtt 2.4.3 → 2.4.4
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 +4 -0
- package/io-package.json +14 -14
- package/lib/statesController.js +5 -1
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -32,6 +32,10 @@ This adapter allows to control the data points of the devices of a Zigbee2MQTT i
|
|
|
32
32
|
Placeholder for the next version (at the beginning of the line):
|
|
33
33
|
### **WORK IN PROGRESS**
|
|
34
34
|
-->
|
|
35
|
+
### 2.4.4 (2022-12-06)
|
|
36
|
+
|
|
37
|
+
- (o0shojo0o) better state identification ([#79](https://github.com/o0shojo0o/ioBroker.zigbee2mqtt/issues/79))
|
|
38
|
+
|
|
35
39
|
### 2.4.3 (2022-11-23)
|
|
36
40
|
|
|
37
41
|
- (o0shojo0o) fix availability when `friendly_name` `/` contains
|
package/io-package.json
CHANGED
|
@@ -1,8 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "zigbee2mqtt",
|
|
4
|
-
"version": "2.4.
|
|
4
|
+
"version": "2.4.4",
|
|
5
5
|
"news": {
|
|
6
|
+
"2.4.4": {
|
|
7
|
+
"en": "better state identification ([#79](https://github.com/o0shojo0o/ioBroker.zigbee2mqtt/issues/79))",
|
|
8
|
+
"de": "bessere Zustandserkennung #[79](https://github.com/o0shojo0o/ioBroker.zigbee2mqt/issues/79)",
|
|
9
|
+
"ru": "лучшая государственная идентификация #[79](https://github.com/o0shojo0o/ioBroker.zigbee2mqtt/issues/79)",
|
|
10
|
+
"pt": "melhor identificação do estado #[79](https://github.com/o0shojo0o/ioBroker.zigbee2mqtt/issues/79)",
|
|
11
|
+
"nl": "identificatie van de staat is beter",
|
|
12
|
+
"fr": "meilleure identification de l ' État #[79](https://github.com/o0shojo0o/ioBroker.zigbee2mqt/issues/79)",
|
|
13
|
+
"it": "migliore identificazione dello stato #[79](https://github.com/o0shojo0o/ioBroker.zigbee2mqt/issues/79)",
|
|
14
|
+
"es": "mejor identificación estatal #[79](https://github.com/o0shojo0o/ioBroker.zigbee2mqtt/issues/79)",
|
|
15
|
+
"pl": "zobacz też: #79 (https:/github.com/o0shojo0o/ioBroker.zigbee2mqtt/issues/79)",
|
|
16
|
+
"uk": "[79] (https://github.com/o0shojo0o/ioBroker.zigbee2mqtt/issues/79)",
|
|
17
|
+
"zh-cn": "更好的国家辨认(http://github.com/oshojo0o/ioBroker.zigbee2mqt/issues/79)"
|
|
18
|
+
},
|
|
6
19
|
"2.4.3": {
|
|
7
20
|
"en": "fix availability when `friendly_name` `/` contains",
|
|
8
21
|
"de": "verfügbarkeit korrigieren bei friendly_name `/` enthält",
|
|
@@ -80,19 +93,6 @@
|
|
|
80
93
|
"pl": "uchwała rola państwowa i dostęp\nnaprawa\ntworzenie Z2MM",
|
|
81
94
|
"uk": "фіксувати державні ролі і доступ\nфіксувати стан обробки\nфіксатор творуZ2MMessage",
|
|
82
95
|
"zh-cn": "fix 国家作用和准入\nfix 国家处理\nfix 建立Z2MMessage"
|
|
83
|
-
},
|
|
84
|
-
"2.2.0": {
|
|
85
|
-
"en": "added support for [Lidl HG06467 effects](https://www.zigbee2mqtt.io/devices/HG06467.html#trigger-effects)\nadded support for hs color\nsimulated_brightness data point is added only for supported devices",
|
|
86
|
-
"de": "unterstützung für [Lidl HG06467-Effekte](https://www.zigbee2mqt.io/devices/HG06467.html#trigger-Effekte)\nunterstützung für hs farbe\nsimuld_brightness-datenpunkt wird nur für unterstützte geräte hinzugefügt",
|
|
87
|
-
"ru": "добавлена поддержка [Lidl HG06467 effects](https://www.zigbee2mqtt.io/devices/HG06467.html#trigger-effects)\nдобавлена поддержка цвета hs\nsimulated_brightness дата точка добавлена только для поддерживаемых устройств",
|
|
88
|
-
"pt": "apoio adicional para efeitos [Lidl HG06467](https://www.zigbee2mqtt.io/devices/HG06467.html#trigger-effects)\nsuporte adicionado para cor hs\nsimulated_brightness data point é adicionado apenas para dispositivos suportados",
|
|
89
|
-
"nl": "quality over Quantity (QoQ) Releases Vertaling:\nvertaling:\nvertaling:",
|
|
90
|
-
"fr": "ajouté support for [Lidl HG06467 effects](https://www.zigbee2mqt.io/devices/HG06467.html#trigger-effects)\nsupport ajouté pour la couleur hs\nsimuld_brightness data point est ajouté seulement pour les appareils pris en charge",
|
|
91
|
-
"it": "[Lidl HG06467 Effects](https://www.zigbee2mqtt.io/devices/HG06467.html#trigger-effetti)\nsupporto aggiunto per il colore hs\nil punto di dati simulated_brightness viene aggiunto solo per i dispositivi supportati",
|
|
92
|
-
"es": "[Lidl HG06467 effects](https://www.zigbee2mqtt.io/devices/HG06467.html#trigger-effects)\nsoporte añadido para el color hs\nsimulated_brightness punto de datos se añade sólo para dispositivos compatibles",
|
|
93
|
-
"pl": "dodano wsparcie dla Lidla HG06467 efektów (https:/wwww.zigbee2mqtt.io/devices/HG06467.html#trigger)\ndodano obsługę koloru hs\nsymulacja danych _brighta jest dodana tylko dla obsługi urządzeń",
|
|
94
|
-
"uk": "додано підтримку [Lidl HG06467 ефектів](https://www.zigbee2mqtt.io/devices/HG06467.html#trigger-effects)\nдодана підтримка кольору hs\nсимулятор_brightness дата додано тільки для підтримуваних пристроїв",
|
|
95
|
-
"zh-cn": "进一步支持[Lidl HG06467效应](http://www.zigbee2mqt.io/devices/HG06467.html#er-effects)\nb. 对地壳的增援\n仅为支助装置增添了简历数据点。"
|
|
96
96
|
}
|
|
97
97
|
},
|
|
98
98
|
"titleLang": {
|
package/lib/statesController.js
CHANGED
|
@@ -74,7 +74,11 @@ class StatesController {
|
|
|
74
74
|
// Is not an action
|
|
75
75
|
else {
|
|
76
76
|
for (const [key, value] of Object.entries(messageObj.payload)) {
|
|
77
|
-
|
|
77
|
+
let state = device.states.find(x => x.prop && x.prop == key);
|
|
78
|
+
|
|
79
|
+
if (!state) {
|
|
80
|
+
state = device.states.find(x => x.id == key);
|
|
81
|
+
}
|
|
78
82
|
|
|
79
83
|
if (!state) {
|
|
80
84
|
continue;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "iobroker.zigbee2mqtt",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.4",
|
|
4
4
|
"description": "Zigbee2MQTT adapter for ioBroker",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Dennis Rathjen",
|
|
@@ -35,20 +35,20 @@
|
|
|
35
35
|
"@tsconfig/node14": "^1.0.3",
|
|
36
36
|
"@types/chai": "^4.3.4",
|
|
37
37
|
"@types/chai-as-promised": "^7.1.5",
|
|
38
|
-
"@types/mocha": "^10.0.
|
|
39
|
-
"@types/node": "^18.11.
|
|
38
|
+
"@types/mocha": "^10.0.1",
|
|
39
|
+
"@types/node": "^18.11.10",
|
|
40
40
|
"@types/proxyquire": "^1.3.28",
|
|
41
41
|
"@types/sinon": "^10.0.13",
|
|
42
42
|
"@types/sinon-chai": "^3.2.9",
|
|
43
43
|
"chai": "^4.3.7",
|
|
44
44
|
"chai-as-promised": "^7.1.1",
|
|
45
|
-
"eslint": "^8.
|
|
45
|
+
"eslint": "^8.29.0",
|
|
46
46
|
"eslint-config-prettier": "^8.5.0",
|
|
47
47
|
"eslint-plugin-prettier": "^4.2.1",
|
|
48
48
|
"mocha": "^10.1.0",
|
|
49
|
-
"prettier": "^2.
|
|
49
|
+
"prettier": "^2.8.0",
|
|
50
50
|
"proxyquire": "^2.1.3",
|
|
51
|
-
"sinon": "^
|
|
51
|
+
"sinon": "^15.0.0",
|
|
52
52
|
"sinon-chai": "^3.7.0",
|
|
53
53
|
"typescript": "~4.9.3"
|
|
54
54
|
},
|