diff --git a/package-lock.json b/package-lock.json index fbbe647f..cfc79fa8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -34,7 +34,7 @@ "winston-transport": "^4.7.0", "ws": "^8.16.0", "zigbee-herdsman": "0.34.7", - "zigbee-herdsman-converters": "18.37.1", + "zigbee-herdsman-converters": "18.38.0", "zigbee2mqtt-frontend": "0.6.158" }, "bin": { @@ -9820,9 +9820,9 @@ } }, "node_modules/zigbee-herdsman-converters": { - "version": "18.37.1", - "resolved": "https://registry.npmjs.org/zigbee-herdsman-converters/-/zigbee-herdsman-converters-18.37.1.tgz", - "integrity": "sha512-WT8ilm12h0Tcusu75YJupnjvBRWBv3D2eK4RRFJX4f4GD0QS8/YfBShtT0OINY18nfISXbHiOKfgpOl8s/Ii2w==", + "version": "18.38.0", + "resolved": "https://registry.npmjs.org/zigbee-herdsman-converters/-/zigbee-herdsman-converters-18.38.0.tgz", + "integrity": "sha512-+m8kjkDvVnU4mvOXrkp10F/UpvwWE7jChoaogGGgr5yeV/aSsWHMwZD1+dNUL/exQXumZ3ReqhJBXg00JLw5Dw==", "dependencies": { "axios": "^1.6.7", "buffer-crc32": "^1.0.0", @@ -9830,7 +9830,7 @@ "iconv-lite": "^0.6.3", "semver": "^7.6.0", "tar-stream": "^3.1.7", - "zigbee-herdsman": "^0.33.9" + "zigbee-herdsman": "^0.34.4" } }, "node_modules/zigbee2mqtt-frontend": { diff --git a/package.json b/package.json index b7c750ba..007b54f9 100644 --- a/package.json +++ b/package.json @@ -60,7 +60,7 @@ "winston-transport": "^4.7.0", "ws": "^8.16.0", "zigbee-herdsman": "0.34.7", - "zigbee-herdsman-converters": "18.37.1", + "zigbee-herdsman-converters": "18.38.0", "zigbee2mqtt-frontend": "0.6.158" }, "devDependencies": { diff --git a/test/configure.test.js b/test/configure.test.js index 170af5cf..669f227b 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: "0x0017880104e45521", transaction: 20})); + await MQTT.events.message('zigbee2mqtt/bridge/request/device/configure', stringify({id: "0x0017882104a44559", transaction: 20})); await flushPromises(); expect(MQTT.publish).toHaveBeenCalledWith( 'zigbee2mqtt/bridge/response/device/configure', - stringify({"data":{"id": "0x0017880104e45521"},"status":"error","error": "Device 'button_double_key' cannot be configured","transaction":20}), + stringify({"data":{"id": "0x0017882104a44559"},"status":"error","error": "Device 'TS0601_thermostat' 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', '0x0017880104e45521'); + await MQTT.events.message('zigbee2mqtt/bridge/configure', '0x0017882104a44559'); await flushPromises(); - expect(logger.warn).toHaveBeenCalledWith(`Skipping configure of 'button_double_key', device does not require this.`) + expect(logger.warn).toHaveBeenCalledWith(`Skipping configure of 'TS0601_thermostat', device does not require this.`) }); it('Should not configure when interview not completed', async () => { diff --git a/test/networkMap.test.js b/test/networkMap.test.js index d19d8a6e..b1e1e795 100644 --- a/test/networkMap.test.js +++ b/test/networkMap.test.js @@ -20,7 +20,7 @@ const flushPromises = require('./lib/flushPromises'); const mocksClear = [MQTT.publish, logger.warn, logger.debug]; const setTimeoutNative = setTimeout; -describe('onlythisNetworkmap', () => { +describe('Networkmap', () => { let controller; beforeAll(async () => {