fix(ignore): update zigbee-herdsman-converters to 23.37.0 (#27300)

This commit is contained in:
Koen Kanters
2025-05-03 06:56:48 +00:00
committed by GitHub
parent 3cb63aa922
commit ff823dbaf0
3 changed files with 10 additions and 12 deletions
+1 -1
View File
@@ -62,7 +62,7 @@
"winston-transport": "^4.9.0",
"ws": "^8.18.1",
"zigbee-herdsman": "4.0.0",
"zigbee-herdsman-converters": "23.36.0",
"zigbee-herdsman-converters": "23.37.0",
"zigbee2mqtt-frontend": "0.9.11"
},
"devDependencies": {
+5 -5
View File
@@ -78,8 +78,8 @@ importers:
specifier: 4.0.0
version: 4.0.0
zigbee-herdsman-converters:
specifier: 23.36.0
version: 23.36.0
specifier: 23.37.0
version: 23.37.0
zigbee2mqtt-frontend:
specifier: 0.9.11
version: 0.9.11
@@ -1454,8 +1454,8 @@ packages:
utf-8-validate:
optional: true
zigbee-herdsman-converters@23.36.0:
resolution: {integrity: sha512-gaNFt8YmqYVzeqOrH2cdyzZ8Ah0raeO+CY8Jc7gmhD2X030o76Qai2SFryQEuMAkbyUkI3bKRHWk1Uz84z+RtQ==}
zigbee-herdsman-converters@23.37.0:
resolution: {integrity: sha512-OKDhZk+SJYzLOSo2ontfQ6XXCZB33uJ2P43yy5gLzlVSpFs3MtyYJCTlIRysBhvnO0MejbWJZxn2QIAwF8pfOg==}
zigbee-herdsman@4.0.0:
resolution: {integrity: sha512-DdNOW8yOvS+1t5VX3Qi4FurF/jryDST4wju73JcvZ7rkEPXSfD+bhLprUX4a0QOP26DDYmDKVpygHBYXk1NMCA==}
@@ -2711,7 +2711,7 @@ snapshots:
ws@8.18.1: {}
zigbee-herdsman-converters@23.36.0:
zigbee-herdsman-converters@23.37.0:
dependencies:
buffer-crc32: 1.0.0
iconv-lite: 0.6.3
+4 -6
View File
@@ -967,20 +967,18 @@ describe("Extension: Publish", () => {
const payload = {state: "ON", brightness: 20, color_temp: 200, transition: 20};
await mockMQTTEvents.message("zigbee2mqtt/bulb/set", stringify(payload));
await flushPromises();
expect(endpoint.command).toHaveBeenCalledTimes(3);
expect(endpoint.command).toHaveBeenCalledTimes(2);
expect(endpoint.command.mock.calls[0]).toEqual(["genLevelCtrl", "moveToLevelWithOnOff", {level: 20, transtime: 0}, {}]);
expect(endpoint.command.mock.calls[1]).toEqual(["genLevelCtrl", "stop", {}, {}]); // unfreeze
expect(endpoint.command.mock.calls[2]).toEqual(["lightingColorCtrl", "moveToColorTemp", {colortemp: 200, transtime: 200}, {}]);
expect(endpoint.command.mock.calls[1]).toEqual(["lightingColorCtrl", "moveToColorTemp", {colortemp: 200, transtime: 200}, {}]);
});
it("Should use transition only once when setting brightness and color temperature for group which contains TRADFRI", async () => {
const group = groups.group_with_tradfri;
await mockMQTTEvents.message("zigbee2mqtt/group_with_tradfri/set", stringify({state: "ON", transition: 60, brightness: 20, color_temp: 400}));
await flushPromises();
expect(group.command).toHaveBeenCalledTimes(3);
expect(group.command).toHaveBeenCalledTimes(2);
expect(group.command.mock.calls[0]).toEqual(["genLevelCtrl", "moveToLevelWithOnOff", {level: 20, transtime: 0}, {}]);
expect(group.command.mock.calls[1]).toEqual(["genLevelCtrl", "stop", {}, {}]); // unfreeze
expect(group.command.mock.calls[2]).toEqual(["lightingColorCtrl", "moveToColorTemp", {colortemp: 400, transtime: 600}, {}]);
expect(group.command.mock.calls[1]).toEqual(["lightingColorCtrl", "moveToColorTemp", {colortemp: 400, transtime: 600}, {}]);
});
it("Message transition should overrule options transition", async () => {