Update zigbee-herdsman-converters to 18.12.0 (#20775)

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

* Update configure.test.js

---------

Co-authored-by: Koenkk <Koenkk@users.noreply.github.com>
This commit is contained in:
Koen Kanters
2024-01-13 21:06:27 +01:00
committed by GitHub
parent ec3e37350d
commit 2bd7df84eb
3 changed files with 10 additions and 10 deletions
+5 -5
View File
@@ -34,7 +34,7 @@
"winston-transport": "^4.6.0",
"ws": "^8.16.0",
"zigbee-herdsman": "0.32.4",
"zigbee-herdsman-converters": "18.11.0",
"zigbee-herdsman-converters": "18.12.0",
"zigbee2mqtt-frontend": "0.6.151"
},
"bin": {
@@ -9803,9 +9803,9 @@
}
},
"node_modules/zigbee-herdsman-converters": {
"version": "18.11.0",
"resolved": "https://registry.npmjs.org/zigbee-herdsman-converters/-/zigbee-herdsman-converters-18.11.0.tgz",
"integrity": "sha512-iYo4D5Ce88X4E1F50WbMPvq9nqixs09+ZgOJ3W9EbmjGsfdmQ5psaxkOhNM2U18be6azIx824Rdv85998LDJaA==",
"version": "18.12.0",
"resolved": "https://registry.npmjs.org/zigbee-herdsman-converters/-/zigbee-herdsman-converters-18.12.0.tgz",
"integrity": "sha512-neH+y6HnMr0fFhZ39+BB886p1P2qbpDhbNAncvGRz6eTBGMVb73Cvh3CSWU9Kd9eLXQS+Y5zjrRIWu3KskRDEg==",
"dependencies": {
"axios": "^1.6.5",
"buffer-crc32": "^0.2.13",
@@ -9813,7 +9813,7 @@
"iconv-lite": "^0.6.3",
"semver": "^7.5.4",
"tar-stream": "^3.1.6",
"zigbee-herdsman": "^0.30.0"
"zigbee-herdsman": "^0.32.3"
}
},
"node_modules/zigbee2mqtt-frontend": {
+1 -1
View File
@@ -62,7 +62,7 @@
"winston-transport": "^4.6.0",
"ws": "^8.16.0",
"zigbee-herdsman": "0.32.4",
"zigbee-herdsman-converters": "18.11.0",
"zigbee-herdsman-converters": "18.12.0",
"zigbee2mqtt-frontend": "0.6.151"
},
"devDependencies": {
+4 -4
View File
@@ -176,11 +176,11 @@ describe('Configure', () => {
});
it('Fail to configure via MQTT when device has no configure', async () => {
await MQTT.events.message('zigbee2mqtt/bridge/request/device/configure', stringify({id: "0x90fd9ffffe4b64ax", transaction: 20}));
await MQTT.events.message('zigbee2mqtt/bridge/request/device/configure', stringify({id: "0x0017880104e45521", transaction: 20}));
await flushPromises();
expect(MQTT.publish).toHaveBeenCalledWith(
'zigbee2mqtt/bridge/response/device/configure',
stringify({"data":{"id": "0x90fd9ffffe4b64ax"},"status":"error","error": "Device 'ZNLDP12LM' cannot be configured","transaction":20}),
stringify({"data":{"id": "0x0017880104e45521"},"status":"error","error": "Device 'button_double_key' cannot be configured","transaction":20}),
{retain: false, qos: 0}, expect.any(Function)
);
});
@@ -200,9 +200,9 @@ describe('Configure', () => {
});
it('Legacy api: Should skip reconfigure when device does not require this', async () => {
await MQTT.events.message('zigbee2mqtt/bridge/configure', '0x90fd9ffffe4b64ax');
await MQTT.events.message('zigbee2mqtt/bridge/configure', '0x0017880104e45521');
await flushPromises();
expect(logger.warn).toHaveBeenCalledWith(`Skipping configure of 'ZNLDP12LM', device does not require this.`)
expect(logger.warn).toHaveBeenCalledWith(`Skipping configure of 'button_double_key', device does not require this.`)
});
it('Should not configure when interview not completed', async () => {