mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2026-07-02 10:01:37 +00:00
Update zigbee-herdsman-converters to 18.38.0 (#21568)
* fix(ignore): update zigbee-herdsman-converters to 18.38.0 * fix tests --------- Co-authored-by: Koenkk <2892853+Koenkk@users.noreply.github.com>
This commit is contained in:
Generated
+5
-5
@@ -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": {
|
||||
|
||||
+1
-1
@@ -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": {
|
||||
|
||||
@@ -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 () => {
|
||||
|
||||
@@ -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 () => {
|
||||
|
||||
Reference in New Issue
Block a user