diff --git a/package-lock.json b/package-lock.json index f58ada2d..bc0c6cc8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -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": { diff --git a/package.json b/package.json index 5fe2bcf0..cc9a1563 100644 --- a/package.json +++ b/package.json @@ -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": { diff --git a/test/configure.test.js b/test/configure.test.js index c7a41c56..170af5cf 100644 --- a/test/configure.test.js +++ b/test/configure.test.js @@ -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 () => {