Update zigbee-herdsman-converters to 18.49.0 (#21767)

* fix(ignore): update zigbee-herdsman-converters to 18.49.0

* fix tests

---------

Co-authored-by: Koenkk <2892853+Koenkk@users.noreply.github.com>
This commit is contained in:
Koen KantersandKoenkk authored and GitHub committed 2024-03-11 20:40:55 +00:00
1 parent 43610bbff4
commit 86c2e90e06
3 files changed
+8 -8

No files matched your search

+4 -4
View File
@@ -34,7 +34,7 @@
"winston-transport": "^4.7.0",
"ws": "^8.16.0",
"zigbee-herdsman": "0.37.0",
"zigbee-herdsman-converters": "18.48.0",
"zigbee-herdsman-converters": "18.49.0",
"zigbee2mqtt-frontend": "0.6.161"
},
"bin": {
@@ -9834,9 +9834,9 @@
}
},
"node_modules/zigbee-herdsman-converters": {
"version": "18.48.0",
"resolved": "https://registry.npmjs.org/zigbee-herdsman-converters/-/zigbee-herdsman-converters-18.48.0.tgz",
"integrity": "sha512-ccrvL1FG/3iVrHLQeZ/QyCcHvUJ3yqmrMR1WT+Mjd42s5igUVa4Z+po6s87KYJOYMn4IAWtbHLaO/ND+CHaPog==",
"version": "18.49.0",
"resolved": "https://registry.npmjs.org/zigbee-herdsman-converters/-/zigbee-herdsman-converters-18.49.0.tgz",
"integrity": "sha512-oq8QVldarMFeqXuNoKVU+Hm5nQzOSu90vvCphbxbwQEPbdpSu0rXi9f/vbYaPzU4VZ1TkDjik3dpKnuQ4v1EPw==",
"dependencies": {
"axios": "^1.6.7",
"buffer-crc32": "^1.0.0",
+1 -1
View File
@@ -60,7 +60,7 @@
"winston-transport": "^4.7.0",
"ws": "^8.16.0",
"zigbee-herdsman": "0.37.0",
"zigbee-herdsman-converters": "18.48.0",
"zigbee-herdsman-converters": "18.49.0",
"zigbee2mqtt-frontend": "0.6.161"
},
"devDependencies": {
+3 -3
View File
@@ -1009,7 +1009,7 @@ describe('Publish', () => {
await MQTT.events.message('zigbee2mqtt/curtain/set', stringify(payload));
await flushPromises();
expect(endpoint.write).toHaveBeenCalledTimes(1);
expect(endpoint.write).toHaveBeenCalledWith("genAnalogOutput", {"85": {"type": 57, "value": 100}});
expect(endpoint.write).toHaveBeenCalledWith("genAnalogOutput", {presentValue: 100});
});
it('ZNCLDJ11LM position', async () => {
@@ -1019,7 +1019,7 @@ describe('Publish', () => {
await MQTT.events.message('zigbee2mqtt/curtain/set', stringify(payload));
await flushPromises();
expect(endpoint.write).toHaveBeenCalledTimes(1);
expect(endpoint.write).toHaveBeenCalledWith("genAnalogOutput", {"85": {"type": 57, "value": 10}});
expect(endpoint.write).toHaveBeenCalledWith("genAnalogOutput", {presentValue: 10});
});
it('ZNCLDJ11LM position', async () => {
@@ -1029,7 +1029,7 @@ describe('Publish', () => {
await MQTT.events.message('zigbee2mqtt/curtain/set', stringify(payload));
await flushPromises();
expect(endpoint.write).toHaveBeenCalledTimes(1);
expect(endpoint.write).toHaveBeenCalledWith("genAnalogOutput", {"85": {"type": 57, "value": 0}});
expect(endpoint.write).toHaveBeenCalledWith("genAnalogOutput", {presentValue: 0});
});
it('ZNCLDJ11LM position', async () => {