mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2026-08-28 13:34:24 +00:00
Update zigbee-herdsman-converters to 14.0.213 (#8247)
* Update zigbee-herdsman-converters to 14.0.213 * Update publish.test.js Co-authored-by: Koenkk <Koenkk@users.noreply.github.com> Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
This commit is contained in:
co-authored by
Koenkk
Koen Kanters
parent
86d92a9591
commit
a380df4f21
Generated
+3
-3
@@ -17650,9 +17650,9 @@
|
||||
}
|
||||
},
|
||||
"zigbee-herdsman-converters": {
|
||||
"version": "14.0.212",
|
||||
"resolved": "https://registry.npmjs.org/zigbee-herdsman-converters/-/zigbee-herdsman-converters-14.0.212.tgz",
|
||||
"integrity": "sha512-2wd3aEwbKyelREchYh+X2a/E9jcDdjlqKqrOVK/PY+gAF+1822koFYEd8WqjLJ5JEtHfOa8mO1R/JoDE2f4FZg==",
|
||||
"version": "14.0.213",
|
||||
"resolved": "https://registry.npmjs.org/zigbee-herdsman-converters/-/zigbee-herdsman-converters-14.0.213.tgz",
|
||||
"integrity": "sha512-9f/e6zFm1yOKj1aftMA43pbhTc7qTwsCFcm0nGe7sgUqDvVQcMrgi6RNDqc76aey9jhc+VLtbNtZmtn9OxQ18A==",
|
||||
"requires": {
|
||||
"axios": "^0.21.1",
|
||||
"buffer-crc32": "^0.2.13",
|
||||
|
||||
+1
-1
@@ -56,7 +56,7 @@
|
||||
"winston-syslog": "^2.4.4",
|
||||
"ws": "^7.5.2",
|
||||
"zigbee-herdsman": "0.13.125",
|
||||
"zigbee-herdsman-converters": "14.0.212",
|
||||
"zigbee-herdsman-converters": "14.0.213",
|
||||
"zigbee2mqtt-frontend": "0.5.19"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -1217,7 +1217,7 @@ describe('Publish', () => {
|
||||
await MQTT.events.message('zigbee2mqtt/siren/set', stringify(payload));
|
||||
await flushPromises();
|
||||
expect(endpoint.command).toHaveBeenCalledTimes(1);
|
||||
expect(endpoint.command).toHaveBeenCalledWith("ssIasWd", "startWarning", {"startwarninginfo": 22, "warningduration": 100}, {disableDefaultResponse: true});
|
||||
expect(endpoint.command).toHaveBeenCalledWith("ssIasWd", "startWarning", {"startwarninginfo": 22, "warningduration": 100, "strobedutycycle": 0, "strobelevel": 1}, {disableDefaultResponse: true});
|
||||
});
|
||||
|
||||
it('HS2WD-E emergency warning', async () => {
|
||||
@@ -1226,7 +1226,7 @@ describe('Publish', () => {
|
||||
await MQTT.events.message('zigbee2mqtt/siren/set', stringify(payload));
|
||||
await flushPromises();
|
||||
expect(endpoint.command).toHaveBeenCalledTimes(1);
|
||||
expect(endpoint.command).toHaveBeenCalledWith("ssIasWd", "startWarning", {"startwarninginfo": 51, "warningduration": 10}, {disableDefaultResponse: true});
|
||||
expect(endpoint.command).toHaveBeenCalledWith("ssIasWd", "startWarning", {"startwarninginfo": 51, "warningduration": 10, "strobedutycycle": 0, "strobelevel": 1}, {disableDefaultResponse: true});
|
||||
});
|
||||
|
||||
it('HS2WD-E emergency without level', async () => {
|
||||
@@ -1235,7 +1235,7 @@ describe('Publish', () => {
|
||||
await MQTT.events.message('zigbee2mqtt/siren/set', stringify(payload));
|
||||
await flushPromises();
|
||||
expect(endpoint.command).toHaveBeenCalledTimes(1);
|
||||
expect(endpoint.command).toHaveBeenCalledWith("ssIasWd", "startWarning", {"startwarninginfo": 49, "warningduration": 10}, {disableDefaultResponse: true});
|
||||
expect(endpoint.command).toHaveBeenCalledWith("ssIasWd", "startWarning", {"startwarninginfo": 49, "warningduration": 10, "strobedutycycle": 0, "strobelevel": 1}, {disableDefaultResponse: true});
|
||||
});
|
||||
|
||||
it('HS2WD-E wrong payload (should use defaults)', async () => {
|
||||
@@ -1244,7 +1244,7 @@ describe('Publish', () => {
|
||||
await MQTT.events.message('zigbee2mqtt/siren/set', stringify(payload));
|
||||
await flushPromises();
|
||||
expect(endpoint.command).toHaveBeenCalledTimes(1);
|
||||
expect(endpoint.command).toHaveBeenCalledWith("ssIasWd", "startWarning", {"startwarninginfo": 53, "warningduration": 10}, {disableDefaultResponse: true});
|
||||
expect(endpoint.command).toHaveBeenCalledWith("ssIasWd", "startWarning", {"startwarninginfo": 53, "warningduration": 10, "strobedutycycle": 0, "strobelevel": 1}, {disableDefaultResponse: true});
|
||||
});
|
||||
|
||||
it('Shouldnt do anythign when device is not supported', async () => {
|
||||
|
||||
Reference in New Issue
Block a user