Update zigbee-herdsman-converters to 15.14.1 (#17859)

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

* fix tests

---------

Co-authored-by: Koenkk <Koenkk@users.noreply.github.com>
This commit is contained in:
Koen KantersandKoenkk authored and GitHub committed 2023-06-01 14:29:42 +00:00
1 parent d0a41548fd
commit ddcab827ad
3 files changed
+10 -10

No files matched your search

+8 -8
View File
@@ -6,7 +6,7 @@
"packages": {
"": {
"name": "zigbee2mqtt",
"version": "1.31.0",
"version": "1.31.0-dev",
"license": "GPL-3.0",
"dependencies": {
"ajv": "^8.12.0",
@@ -34,7 +34,7 @@
"winston-transport": "^4.5.0",
"ws": "^8.13.0",
"zigbee-herdsman": "0.14.117",
"zigbee-herdsman-converters": "15.13.1",
"zigbee-herdsman-converters": "15.14.1",
"zigbee2mqtt-frontend": "0.6.129"
},
"bin": {
@@ -9575,9 +9575,9 @@
}
},
"node_modules/zigbee-herdsman-converters": {
"version": "15.13.1",
"resolved": "https://registry.npmjs.org/zigbee-herdsman-converters/-/zigbee-herdsman-converters-15.13.1.tgz",
"integrity": "sha512-OdBT4lr6uuc/1qiNoZ82wyR5JLd7Ck4wgZ+D7t07twPy3zJdcSdv377ZL5I/7gFN5MfP8BompLBrcaHHmaVIHg==",
"version": "15.14.1",
"resolved": "https://registry.npmjs.org/zigbee-herdsman-converters/-/zigbee-herdsman-converters-15.14.1.tgz",
"integrity": "sha512-hmc8V9X8Xm6SDB4Hv6Aq+I4+Wwu5ERp3OfeYuTocDDKPMqRwR/VMDC2Jjvftq0X554adRW69GYxV9wzLXM2StQ==",
"dependencies": {
"axios": "^1.4.0",
"buffer-crc32": "^0.2.13",
@@ -16574,9 +16574,9 @@
}
},
"zigbee-herdsman-converters": {
"version": "15.13.1",
"resolved": "https://registry.npmjs.org/zigbee-herdsman-converters/-/zigbee-herdsman-converters-15.13.1.tgz",
"integrity": "sha512-OdBT4lr6uuc/1qiNoZ82wyR5JLd7Ck4wgZ+D7t07twPy3zJdcSdv377ZL5I/7gFN5MfP8BompLBrcaHHmaVIHg==",
"version": "15.14.1",
"resolved": "https://registry.npmjs.org/zigbee-herdsman-converters/-/zigbee-herdsman-converters-15.14.1.tgz",
"integrity": "sha512-hmc8V9X8Xm6SDB4Hv6Aq+I4+Wwu5ERp3OfeYuTocDDKPMqRwR/VMDC2Jjvftq0X554adRW69GYxV9wzLXM2StQ==",
"requires": {
"axios": "^1.4.0",
"buffer-crc32": "^0.2.13",
+1 -1
View File
@@ -60,7 +60,7 @@
"winston-transport": "^4.5.0",
"ws": "^8.13.0",
"zigbee-herdsman": "0.14.117",
"zigbee-herdsman-converters": "15.13.1",
"zigbee-herdsman-converters": "15.14.1",
"zigbee2mqtt-frontend": "0.6.129"
},
"devDependencies": {
+1 -1
View File
@@ -964,7 +964,7 @@ describe('Publish', () => {
await MQTT.events.message('zigbee2mqtt/bulb_color/set', stringify(payload));
await flushPromises();
expect(endpoint.command).toHaveBeenCalledTimes(1);
expect(endpoint.command.mock.calls[0]).toEqual(["lightingColorCtrl", "enhancedMoveToHueAndSaturation", {"direction": 0, "enhancehue": 44877, "saturation": 200, "transtime": 0,}, {}]);
expect(endpoint.command.mock.calls[0]).toEqual(["lightingColorCtrl", "enhancedMoveToHueAndSaturation", {"direction": 0, "enhancehue": 45510, "saturation": 127, "transtime": 0,}, {}]);
expect(MQTT.publish).toHaveBeenCalledTimes(1);
expect(MQTT.publish.mock.calls[0][0]).toStrictEqual('zigbee2mqtt/bulb_color');
expect(JSON.parse(MQTT.publish.mock.calls[0][1])).toStrictEqual({"color":{"hue":250,"saturation":50}, "color_mode": "hs"});