mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2026-07-20 18:41:35 +00:00
Update zigbee-herdsman-converters (#3917)
* Update zigbee-herdsman-converters to 12.0.140 * 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:
co-authored by
github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Koen Kanters
parent
7d2ac63482
commit
570985b877
Generated
+3
-3
@@ -14711,9 +14711,9 @@
|
||||
}
|
||||
},
|
||||
"zigbee-herdsman-converters": {
|
||||
"version": "12.0.139",
|
||||
"resolved": "https://registry.npmjs.org/zigbee-herdsman-converters/-/zigbee-herdsman-converters-12.0.139.tgz",
|
||||
"integrity": "sha512-xh+zoVgXmmqDBEYmCr1IyeFWbeSwnLFna5CaV3RQa1/d+o5SHvKYW42JNluv4Cf+9kpU28ZenXNPf6kRFeuoBw==",
|
||||
"version": "12.0.140",
|
||||
"resolved": "https://registry.npmjs.org/zigbee-herdsman-converters/-/zigbee-herdsman-converters-12.0.140.tgz",
|
||||
"integrity": "sha512-tifMkPs4XEEr3+uEb5goQrAY3H8EgtAqxtgQ16YWoyTSFezyRdTn8zcuFqXl6XsQyzpmzZG7iZ/gKS9IRIvrvg==",
|
||||
"requires": {
|
||||
"axios": "*",
|
||||
"https-proxy-agent": "*",
|
||||
|
||||
+2
-2
@@ -33,7 +33,6 @@
|
||||
},
|
||||
"homepage": "https://koenkk.github.io/zigbee2mqtt",
|
||||
"dependencies": {
|
||||
"zigbee-herdsman": "0.12.107",
|
||||
"ajv": "*",
|
||||
"debounce": "*",
|
||||
"fast-deep-equal": "*",
|
||||
@@ -48,7 +47,8 @@
|
||||
"semver": "*",
|
||||
"winston": "*",
|
||||
"winston-syslog": "*",
|
||||
"zigbee-herdsman-converters": "12.0.139"
|
||||
"zigbee-herdsman": "0.12.107",
|
||||
"zigbee-herdsman-converters": "12.0.140"
|
||||
},
|
||||
"devDependencies": {
|
||||
"eslint": "*",
|
||||
|
||||
@@ -1058,7 +1058,7 @@ describe('Publish', () => {
|
||||
await MQTT.events.message('zigbee2mqtt/MKS-CM-W5/l3/set', JSON.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: 16}, {disableDefaultResponse: true});
|
||||
expect(endpoint.command).toHaveBeenCalledWith("manuSpecificTuyaDimmer", "setData", {data: [1,1], dp: 259, fn: 0, status: 0, transid: expect.any(Number)}, {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'});
|
||||
|
||||
Reference in New Issue
Block a user