Update zigbee-herdsman-converters to 12.0.233 (#4924)

* Update zigbee-herdsman-converters to 12.0.233

* Update publish.test.js

* Update publish.test.js

* Update publish.test.js

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
This commit is contained in:
github-actions[bot]
2020-11-10 21:40:15 +01:00
committed by GitHub
co-authored by github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Koen Kanters
parent 6ef08e855c
commit 8c20fa5d83
3 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -14558,9 +14558,9 @@
}
},
"zigbee-herdsman-converters": {
"version": "12.0.232",
"resolved": "https://registry.npmjs.org/zigbee-herdsman-converters/-/zigbee-herdsman-converters-12.0.232.tgz",
"integrity": "sha512-U7fGX8adbP9jY72QaUhogufVnuMD8n8+m5MRHSZ9Z8FdbbRTpQzqE7yMfqskEKO6zaPqleuSfKcFGWLF4rzo+g==",
"version": "12.0.233",
"resolved": "https://registry.npmjs.org/zigbee-herdsman-converters/-/zigbee-herdsman-converters-12.0.233.tgz",
"integrity": "sha512-Kvh8h95segafqYHWcDkJTjkKfDdx15n8nV/rNmnmVjAMDEJDD0t9kH+kS6IXDkyqSGimEvvoHNcxmOE1MOFGWQ==",
"requires": {
"axios": "^0.21.0",
"buffer-crc32": "^0.2.13",
+1 -1
View File
@@ -53,7 +53,7 @@
"winston-syslog": "^2.4.4",
"ws": "^7.3.1",
"zigbee-herdsman": "0.13.27",
"zigbee-herdsman-converters": "12.0.232",
"zigbee-herdsman-converters": "12.0.233",
"zigbee2mqtt-frontend": "0.2.69"
},
"devDependencies": {
+2 -2
View File
@@ -339,7 +339,7 @@ describe('Publish', () => {
await MQTT.events.message('zigbee2mqtt/thermostat_group/set', stringify({child_lock: 'LOCK'}));
await flushPromises();
expect(group.command).toHaveBeenCalledTimes(1);
expect(group.command).toHaveBeenCalledWith("manuSpecificTuyaDimmer", "setData", {data: [1,1], dp: 263, fn: 0, status: 0, transid: expect.any(Number)}, {disableDefaultResponse: true});
expect(group.command).toHaveBeenCalledWith("manuSpecificTuya", "setData", {data: [1], datatype: 1, dp: 7, length_hi: 0, length_lo: 1, status: 0, transid: 0}, {disableDefaultResponse: true});
});
it('Should publish messages to groups with on and brightness', async () => {
@@ -1203,7 +1203,7 @@ describe('Publish', () => {
await MQTT.events.message('zigbee2mqtt/MKS-CM-W5/l3/set', stringify({state: 'ON'}));
await flushPromises();
expect(endpoint.command).toHaveBeenCalledTimes(1);
expect(endpoint.command).toHaveBeenCalledWith("manuSpecificTuyaDimmer", "setData", {data: [1,1], dp: 259, fn: 0, status: 0, transid: expect.any(Number)}, {disableDefaultResponse: true});
expect(endpoint.command).toHaveBeenCalledWith("manuSpecificTuya", "setData", {data: [1], datatype: 1, dp: 3, length_hi: 0, length_lo: 1, status: 0, transid: 1}, {disableDefaultResponse: true});
expect(MQTT.publish).toHaveBeenCalledTimes(1);
expect(MQTT.publish.mock.calls[0][0]).toStrictEqual('zigbee2mqtt/MKS-CM-W5');
expect(JSON.parse(MQTT.publish.mock.calls[0][1])).toStrictEqual({state_l3: 'ON'});