Update converters.

This commit is contained in:
Koen Kanters
2020-03-15 22:26:03 +01:00
parent 66b68da318
commit 27b3fd2f03
4 changed files with 8 additions and 8 deletions
+3 -3
View File
@@ -14819,9 +14819,9 @@
}
},
"zigbee-herdsman-converters": {
"version": "12.0.48",
"resolved": "https://registry.npmjs.org/zigbee-herdsman-converters/-/zigbee-herdsman-converters-12.0.48.tgz",
"integrity": "sha512-nDeZq6K+C9qKsk97E/Z9Exrc4vumKUUw6ezcyPpSaL5yrGCOY9DzJ4wiPSVmzXrezpisxZujvussBJqdm8B0Pw==",
"version": "12.0.49",
"resolved": "https://registry.npmjs.org/zigbee-herdsman-converters/-/zigbee-herdsman-converters-12.0.49.tgz",
"integrity": "sha512-3nbKbM/JDzyuTCeh8ysti5W42Xnnn7tw3LFf9FWdBl35KchoKbkLWeZ7kWrsilC/jhy+M9AjMvrhDDozx87OXA==",
"requires": {
"axios": "*",
"tar-stream": "*"
+1 -1
View File
@@ -46,7 +46,7 @@
"semver": "*",
"winston": "*",
"zigbee-herdsman": "0.12.63",
"zigbee-herdsman-converters": "12.0.48"
"zigbee-herdsman-converters": "12.0.49"
},
"devDependencies": {
"eslint": "*",
+3 -3
View File
@@ -119,9 +119,9 @@ describe('OTA update', () => {
});
it('Should not check for OTA when device does not support it', async () => {
MQTT.events.message('zigbee2mqtt/bridge/ota_update/check', 'bulb_color_2');
MQTT.events.message('zigbee2mqtt/bridge/ota_update/check', 'ZNLDP12LM');
await flushPromises();
expect(logger.error).toHaveBeenCalledWith(`Device 'bulb_color_2' does not support OTA updates`);
expect(logger.error).toHaveBeenCalledWith(`Device 'ZNLDP12LM' does not support OTA updates`);
});
it('Should refuse to check/update when already in progress', async () => {
@@ -193,7 +193,7 @@ describe('OTA update', () => {
});
it('Should respond with NO_IMAGE_AVAILABLE when not supporting OTA', async () => {
const device = zigbeeHerdsman.devices.bulb_color;
const device = zigbeeHerdsman.devices.QBKG04LM;
const data = {imageType: 12382};
const payload = {data, cluster: 'genOta', device, endpoint: device.getEndpoint(1), type: 'commandQueryNextImageRequest', linkquality: 10};
await zigbeeHerdsman.events.message(payload);
+1 -1
View File
@@ -121,7 +121,7 @@ const devices = {
'RTCGQ11LM': new Device('EndDevice', '0x0017880104e45523', 6540,4151, [new Endpoint(1, [0], [])], true, "Battery", "lumi.sensor_motion.aq2"),
'ZNCZ02LM': new Device('Router', '0x0017880104e45524', 6540,4151, [new Endpoint(1, [0], [])], true, "Mains (single phase)", "lumi.plug"),
'E1743': new Device('Router', '0x0017880104e45540', 6540,4476, [new Endpoint(1, [0], [])], true, "Mains (single phase)", 'TRADFRI on/off switch'),
'QBKG04LM': new Device('Router', '0x0017880104e45541', 6549,4151, [new Endpoint(1, [0], []), new Endpoint(2, [0, 6], [])], true, "Mains (single phase)", 'lumi.ctrl_neutral1'),
'QBKG04LM': new Device('Router', '0x0017880104e45541', 6549,4151, [new Endpoint(1, [0], [25]), new Endpoint(2, [0, 6], [])], true, "Mains (single phase)", 'lumi.ctrl_neutral1'),
'QBKG03LM':new Device('Router', '0x0017880104e45542', 6540,4151, [new Endpoint(1, [0], [], '0x0017880104e45542'), new Endpoint(2, [0, 6], [], '0x0017880104e45542'), new Endpoint(3, [0, 6], [], '0x0017880104e45542')], true, "Mains (single phase)", 'lumi.ctrl_neutral2'),
'GLEDOPTO1112': new Device('Router', '0x0017880104e45543', 6540, 4151, [new Endpoint(11, [0], [], '0x0017880104e45543'), new Endpoint(13, [0], [], '0x0017880104e45543')], true, "Mains (single phase)", 'GL-C-008'),
'GLEDOPTO111213': new Device('Router', '0x0017880104e45544', 6540,4151, [new Endpoint(11, [0], []), new Endpoint(13, [0], []), new Endpoint(12, [0], [])], true, "Mains (single phase)", 'GL-C-008'),