iobroker.zigbee2mqtt 2.1.1 → 2.2.0

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
@@ -30,6 +30,12 @@ This adapter allows to control the data points of the devices of a Zigbee2MQTT i
30
30
  Placeholder for the next version (at the beginning of the line):
31
31
  ### **WORK IN PROGRESS**
32
32
  -->
33
+ ### 2.2.0 (2022-10-20)
34
+
35
+ - (o0shojo0o) added support for [Lidl HG06467 effects](https://www.zigbee2mqtt.io/devices/HG06467.html#trigger-effects)
36
+ - (o0shojo0o) added support for hs color
37
+ - (o0shojo0o) simulated_brightness data point is added only for supported devices
38
+
33
39
  ### 2.1.1 (2022-10-16)
34
40
 
35
41
  - (o0shojo0o) advanced detection if a device has been removed
package/io-package.json CHANGED
@@ -1,8 +1,21 @@
1
1
  {
2
2
  "common": {
3
3
  "name": "zigbee2mqtt",
4
- "version": "2.1.1",
4
+ "version": "2.2.0",
5
5
  "news": {
6
+ "2.2.0": {
7
+ "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",
8
+ "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",
9
+ "ru": "добавлена поддержка [Lidl HG06467 effects](https://www.zigbee2mqtt.io/devices/HG06467.html#trigger-effects)\nдобавлена поддержка цвета hs\nsimulated_brightness дата точка добавлена только для поддерживаемых устройств",
10
+ "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",
11
+ "nl": "quality over Quantity (QoQ) Releases Vertaling:\nvertaling:\nvertaling:",
12
+ "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",
13
+ "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",
14
+ "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",
15
+ "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ń",
16
+ "uk": "додано підтримку [Lidl HG06467 ефектів](https://www.zigbee2mqtt.io/devices/HG06467.html#trigger-effects)\nдодана підтримка кольору hs\nсимулятор_brightness дата додано тільки для підтримуваних пристроїв",
17
+ "zh-cn": "进一步支持[Lidl HG06467效应](http://www.zigbee2mqt.io/devices/HG06467.html#er-effects)\nb. 对地壳的增援\n仅为支助装置增添了简历数据点。"
18
+ },
6
19
  "2.1.1": {
7
20
  "en": "advanced detection if a device has been removed\nfixes the design error in the websocket connection",
8
21
  "de": "fortgeschrittene erkennung, wenn ein gerät entfernt wurde\nkorrigiert den designfehler in der websocket-verbindung",
@@ -77,18 +90,6 @@
77
90
  "es": "primera liberación",
78
91
  "pl": "pierwsze wydanie",
79
92
  "zh-cn": "首次释放"
80
- },
81
- "0.0.1": {
82
- "en": "initial release",
83
- "de": "Erstveröffentlichung",
84
- "ru": "Начальная версия",
85
- "pt": "lançamento inicial",
86
- "nl": "Eerste uitgave",
87
- "fr": "Première version",
88
- "it": "Versione iniziale",
89
- "es": "Versión inicial",
90
- "pl": "Pierwsze wydanie",
91
- "zh-cn": "首次出版"
92
93
  }
93
94
  },
94
95
  "titleLang": {
package/lib/check.js CHANGED
@@ -1,36 +1,36 @@
1
1
  function checkConfig(config, log) {
2
- const checkAPIOptions = {
3
- legacy_api_enabled: config.advanced.legacy_api != false,
4
- legacy_availability_payload_enabled: config.advanced.legacy_availability_payload != false,
5
- device_legacy_enabled: config.device_options.legacy != false
6
- };
2
+ const checkAPIOptions = {
3
+ legacy_api_enabled: config.advanced.legacy_api != false,
4
+ legacy_availability_payload_enabled: config.advanced.legacy_availability_payload != false,
5
+ device_legacy_enabled: config.device_options.legacy != false
6
+ };
7
7
 
8
- if (Object.values(checkAPIOptions).filter(x => x == true).length > 0) {
9
- log.error('===================================================');
10
- log.error('===================================================');
11
- if (checkAPIOptions.legacy_api_enabled == true) {
12
- log.error('Legacy api is activated, so the adapter can not work correctly!!!');
13
- log.error('Please add the following lines to your Zigbee2MQTT configuration.yaml:');
14
- log.error('legacy_api: false');
15
- log.error('');
16
- }
17
- if (checkAPIOptions.legacy_availability_payload_enabled == true) {
18
- log.error('Legacy Availability Payload is activated, thus the adapter cannot represent the availability of the devices!!!');
19
- log.error('Please add the following lines to your Zigbee2MQTT configuration.yaml:');
20
- log.error('legacy_availability_payload: false');
21
- log.error('');
22
- }
23
- if (checkAPIOptions.device_legacy_enabled == true) {
24
- log.error('Device Legacy Payload is activated, therefore the adapter may process the states of the devices correctly!!!');
25
- log.error('Please add the following lines to your Zigbee2MQTT configuration.yaml:');
26
- log.error('device_options:');
27
- log.error(' legacy: false');
28
- }
29
- log.error('===================================================');
30
- log.error('===================================================');
31
- }
8
+ if (Object.values(checkAPIOptions).filter(x => x == true).length > 0) {
9
+ log.error('===================================================');
10
+ log.error('===================================================');
11
+ if (checkAPIOptions.legacy_api_enabled == true) {
12
+ log.error('Legacy api is activated, so the adapter can not work correctly!!!');
13
+ log.error('Please add the following lines to your Zigbee2MQTT configuration.yaml:');
14
+ log.error('legacy_api: false');
15
+ log.error('');
16
+ }
17
+ if (checkAPIOptions.legacy_availability_payload_enabled == true) {
18
+ log.error('Legacy Availability Payload is activated, thus the adapter cannot represent the availability of the devices!!!');
19
+ log.error('Please add the following lines to your Zigbee2MQTT configuration.yaml:');
20
+ log.error('legacy_availability_payload: false');
21
+ log.error('');
22
+ }
23
+ if (checkAPIOptions.device_legacy_enabled == true) {
24
+ log.error('Device Legacy Payload is activated, therefore the adapter may process the states of the devices correctly!!!');
25
+ log.error('Please add the following lines to your Zigbee2MQTT configuration.yaml:');
26
+ log.error('device_options:');
27
+ log.error(' legacy: false');
28
+ }
29
+ log.error('===================================================');
30
+ log.error('===================================================');
31
+ }
32
32
  }
33
33
 
34
34
  module.exports = {
35
- checkConfig: checkConfig,
35
+ checkConfig: checkConfig,
36
36
  };