From beacbd3496175b380ef30722a9f578188abfa00e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 4 May 2021 22:43:04 +0200 Subject: [PATCH] Update zigbee-herdsman-converters to 14.0.139 (#7339) * Update zigbee-herdsman-converters to 14.0.139 * Update configure.test.js Co-authored-by: Koenkk Co-authored-by: Koen Kanters --- npm-shrinkwrap.json | 6 +++--- package.json | 2 +- test/configure.test.js | 8 ++++---- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index aff385d83..091ccea1c 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -14759,9 +14759,9 @@ } }, "zigbee-herdsman-converters": { - "version": "14.0.138", - "resolved": "https://registry.npmjs.org/zigbee-herdsman-converters/-/zigbee-herdsman-converters-14.0.138.tgz", - "integrity": "sha512-gqrKG+B4E9uoOhrzTM+Wopq5ckKiqIuIs2EFOopIb7XLFHJ7U7QBNlBG/iOgxNO8bHaK5rsenESgDsSm+ibeYQ==", + "version": "14.0.139", + "resolved": "https://registry.npmjs.org/zigbee-herdsman-converters/-/zigbee-herdsman-converters-14.0.139.tgz", + "integrity": "sha512-JbL8fP8w3Jo8x9dhdAYlGCQJcYWhxoWpKFPIxeejGk9fqPWaa5CPoZfWReBMpMKuwEXBqdcnLr3IPC/ps7emPQ==", "requires": { "axios": "^0.21.1", "buffer-crc32": "^0.2.13", diff --git a/package.json b/package.json index a3d56067e..92d80adef 100644 --- a/package.json +++ b/package.json @@ -53,7 +53,7 @@ "winston-syslog": "^2.4.4", "ws": "^7.3.1", "zigbee-herdsman": "0.13.93", - "zigbee-herdsman-converters": "14.0.138", + "zigbee-herdsman-converters": "14.0.139", "zigbee2mqtt-frontend": "0.4.2" }, "devDependencies": { diff --git a/test/configure.test.js b/test/configure.test.js index fd25837ba..f7a700563 100644 --- a/test/configure.test.js +++ b/test/configure.test.js @@ -154,11 +154,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: "bulb_enddevice", transaction: 20})); + await MQTT.events.message('zigbee2mqtt/bridge/request/device/configure', stringify({id: "0x90fd9ffffe4b64ax", transaction: 20})); await flushPromises(); expect(MQTT.publish).toHaveBeenCalledWith( 'zigbee2mqtt/bridge/response/device/configure', - stringify({"data":{"id": "bulb_enddevice"},"status":"error","error": "Device 'bulb_enddevice' cannot be configured","transaction":20}), + stringify({"data":{"id": "0x90fd9ffffe4b64ax"},"status":"error","error": "Device 'ZNLDP12LM' cannot be configured","transaction":20}), {retain: false, qos: 0}, expect.any(Function) ); }); @@ -178,9 +178,9 @@ describe('Configure', () => { }); it('Legacy api: Should skip reconfigure when device does not require this', async () => { - await MQTT.events.message('zigbee2mqtt/bridge/configure', '0x0017880104e45553'); + await MQTT.events.message('zigbee2mqtt/bridge/configure', '0x90fd9ffffe4b64ax'); await flushPromises(); - expect(logger.warn).toHaveBeenCalledWith(`Skipping configure of 'bulb_enddevice', device does not require this.`) + expect(logger.warn).toHaveBeenCalledWith(`Skipping configure of 'ZNLDP12LM', device does not require this.`) }); it('Should not configure when interviewing', async () => {