Update zigbee-herdsman-converters to 18.22.0 (#21040)

* fix(ignore): update zigbee-herdsman-converters to 18.22.0

* Update homeassistant.test.js

---------

Co-authored-by: Koenkk <Koenkk@users.noreply.github.com>
This commit is contained in:
Koen Kanters
2024-01-27 08:55:15 +00:00
committed by GitHub
co-authored by Koenkk
parent a879382cbd
commit 0d716288bf
3 changed files with 6 additions and 6 deletions
+4 -4
View File
@@ -34,7 +34,7 @@
"winston-transport": "^4.6.0",
"ws": "^8.16.0",
"zigbee-herdsman": "0.33.2",
"zigbee-herdsman-converters": "18.21.0",
"zigbee-herdsman-converters": "18.22.0",
"zigbee2mqtt-frontend": "0.6.152"
},
"bin": {
@@ -9824,9 +9824,9 @@
}
},
"node_modules/zigbee-herdsman-converters": {
"version": "18.21.0",
"resolved": "https://registry.npmjs.org/zigbee-herdsman-converters/-/zigbee-herdsman-converters-18.21.0.tgz",
"integrity": "sha512-IQIynIQczO+zF4ccgL1YcpsT0sMgaSX4aI0Azuib8uxEkGcKkXSb8uQLeVU0dduar7UeEvBJnjVOgGpqqhmZIg==",
"version": "18.22.0",
"resolved": "https://registry.npmjs.org/zigbee-herdsman-converters/-/zigbee-herdsman-converters-18.22.0.tgz",
"integrity": "sha512-qYla0ReXJSfeAHgVyangQa2NrXnoZPRlwwP257p71Z1K7tIQGM21YnunIa394beiA9nOlKDj5GulXdvY1OVyig==",
"dependencies": {
"axios": "^1.6.5",
"buffer-crc32": "^0.2.13",
+1 -1
View File
@@ -60,7 +60,7 @@
"winston-transport": "^4.6.0",
"ws": "^8.16.0",
"zigbee-herdsman": "0.33.2",
"zigbee-herdsman-converters": "18.21.0",
"zigbee-herdsman-converters": "18.22.0",
"zigbee2mqtt-frontend": "0.6.152"
},
"devDependencies": {
+1 -1
View File
@@ -1754,7 +1754,7 @@ describe('HomeAssistant extension', () => {
await MQTT.events.message('zigbee2mqtt/U202DST600ZB/l2/set', stringify({state: 'ON', brightness: 20}));
await flushPromises();
expect(MQTT.publish).toHaveBeenCalledWith('zigbee2mqtt/U202DST600ZB', stringify({state_l2:"ON", brightness_l2:20, linkquality: null, state_l1: null}), {"qos": 0, "retain": false}, expect.any(Function));
expect(MQTT.publish).toHaveBeenCalledWith('zigbee2mqtt/U202DST600ZB', stringify({state_l2:"ON", brightness_l2:20, linkquality: null, state_l1: null, power_on_behavior: null}), {"qos": 0, "retain": false}, expect.any(Function));
expect(MQTT.publish).toHaveBeenCalledWith('zigbee2mqtt/U202DST600ZB/l2', stringify({state:"ON", brightness:20}), {"qos": 0, "retain": false}, expect.any(Function));
expect(MQTT.publish).toHaveBeenCalledWith('zigbee2mqtt/U202DST600ZB/l1', stringify({state: null}), {"qos": 0, "retain": false}, expect.any(Function));
});