From 3ed57052533a700c07fddf80ef6a66970d54d26b Mon Sep 17 00:00:00 2001 From: Koen Kanters Date: Wed, 24 Jul 2019 21:44:04 +0200 Subject: [PATCH] Update zigbee-shepherd-converters and zigbee-herdsman. --- lib/extension/homeassistant.js | 7 ++++++- npm-shrinkwrap.json | 24 ++++++++++++------------ package.json | 4 ++-- 3 files changed, 20 insertions(+), 15 deletions(-) diff --git a/lib/extension/homeassistant.js b/lib/extension/homeassistant.js index d686da49..1f7508e7 100644 --- a/lib/extension/homeassistant.js +++ b/lib/extension/homeassistant.js @@ -393,7 +393,10 @@ const mapping = { 'WXKG03LM': [configurations.sensor_click, configurations.sensor_battery, configurations.sensor_action], 'WXKG02LM': [configurations.sensor_click, configurations.sensor_battery], 'QBKG04LM': [configurations.switch, configurations.sensor_click, configurations.sensor_action], - 'QBKG03LM': [switchWithPostfix('left'), switchWithPostfix('right'), configurations.sensor_click], + 'QBKG03LM': [ + switchWithPostfix('left'), switchWithPostfix('right'), configurations.sensor_click, + configurations.sensor_temperature, + ], 'WSDCGQ01LM': [configurations.sensor_temperature, configurations.sensor_humidity, configurations.sensor_battery], 'WSDCGQ11LM': [ configurations.sensor_temperature, configurations.sensor_humidity, configurations.sensor_pressure, @@ -811,6 +814,8 @@ const mapping = { 'LVS-SN10ZW': [configurations.sensor_battery, configurations.binary_sensor_occupancy], 'LVS-ZB15R': [configurations.switch], 'TH1123ZB': [configurations.thermostat], + 'Zen-01-W': [configurations.thermostat], + '9290022166': [configurations.light_brightness_colortemp_colorxy], }; Object.keys(mapping).forEach((key) => { diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index e0cfcb5b..dc6c1f05 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -1609,9 +1609,9 @@ "dev": true }, "eslint-plugin-jest": { - "version": "22.13.4", - "resolved": "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-22.13.4.tgz", - "integrity": "sha512-+pua8duX2ELhCN55CGdnT1kIudDl2NE7k0koIbobx9ZzNYT8GhZHilP0WIIhOQ0XuU06JXFdOcQtPC/Z17zZ0g==", + "version": "22.13.6", + "resolved": "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-22.13.6.tgz", + "integrity": "sha512-wn3n9Djj+Dyi8AS1kvGOXpzUJfs9SJYhoZxIb49y4cwHRPaSgDHzSJPZX3sliZ3k8l6bYVeEGW76QvvqoOjSEw==", "dev": true, "requires": { "@typescript-eslint/experimental-utils": "^1.13.0" @@ -4959,9 +4959,9 @@ "dev": true }, "semver": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.2.0.tgz", - "integrity": "sha512-jdFC1VdUGT/2Scgbimf7FSx9iJLXoqfglSF+gJeuNWVpiE37OIbc1jywR/GJyFdz3mnkz2/id0L0J/cr0izR5A==" + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==" }, "set-blocking": { "version": "2.0.0", @@ -6032,9 +6032,9 @@ } }, "zigbee-herdsman": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/zigbee-herdsman/-/zigbee-herdsman-0.2.0.tgz", - "integrity": "sha512-P7LTnKk/O5FroTIfExOz+ovv2TgZADJAd658FgRogoe5biRfV+eBu/4pSraAiVTVzvDdd8nQSZvty/DG4p0VCA==", + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/zigbee-herdsman/-/zigbee-herdsman-0.3.1.tgz", + "integrity": "sha512-qkWhi8X+SivCpEraa5Gg5Wi6F+iCN2N3MwIYGZi9+ds9lxyZ+6ULKYpDcNI7e+1WV/ZFUy9jjz3R5DPGppdKWw==", "requires": { "busyman": "^0.3.0", "concentrate": "^0.2.3", @@ -12652,9 +12652,9 @@ } }, "zigbee-shepherd-converters": { - "version": "10.1.5", - "resolved": "https://registry.npmjs.org/zigbee-shepherd-converters/-/zigbee-shepherd-converters-10.1.5.tgz", - "integrity": "sha512-2y2S5vDQWUKfGI+l3UO0b5BaJJnZElGCuOs50jc4YEpnU0VTGVr8f0I6ia+5tSSsLw9KcNJ7TsJZjkShTSVUjQ==", + "version": "10.1.7", + "resolved": "https://registry.npmjs.org/zigbee-shepherd-converters/-/zigbee-shepherd-converters-10.1.7.tgz", + "integrity": "sha512-u6t/XJkDiNyOwdYkK++ggr2cNr0NP2opW6ns1PGVJ87gKEJME2TEr0SktXDjEoEydFrgq4ggC1wqt+4S0JExeQ==", "requires": { "chai": "*", "debounce": "*", diff --git a/package.json b/package.json index 780250ce..ce9b5bda 100644 --- a/package.json +++ b/package.json @@ -43,8 +43,8 @@ "rimraf": "*", "semver": "*", "winston": "2.4.2", - "zigbee-herdsman": "0.2.0", - "zigbee-shepherd-converters": "10.1.5", + "zigbee-herdsman": "0.3.1", + "zigbee-shepherd-converters": "10.1.7", "deep-diff": "*" }, "devDependencies": {