From db57829068770d133abecf079a44ba5ef5e6b03e Mon Sep 17 00:00:00 2001 From: Koen Kanters Date: Sun, 15 Mar 2020 16:58:48 +0100 Subject: [PATCH] Update converters. --- lib/extension/homeassistant.js | 6 ++++++ npm-shrinkwrap.json | 6 +++--- package.json | 2 +- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/lib/extension/homeassistant.js b/lib/extension/homeassistant.js index c68ced06..42c58706 100644 --- a/lib/extension/homeassistant.js +++ b/lib/extension/homeassistant.js @@ -1307,6 +1307,12 @@ const mapping = { 'LifeControl_RGB_Led': [cfg.light_brightness_colortemp_colorxy], '3323-G': [cfg.binary_sensor_occupancy, cfg.sensor_temperature, cfg.binary_sensor_battery_low], 'ZL1000400-CCT-EU-2-V1A02': [cfg.light_brightness_colortemp], + 'PM-S140-ZB': [cfg.switch], + 'PM-S240-ZB': [switchWithPostfix('top'), switchWithPostfix('bottom')], + 'PM-S340-ZB': [switchWithPostfix('top'), switchWithPostfix('center'), switchWithPostfix('bottom')], + 'U201DST600ZB': [cfg.light_brightness], + 'U201SRY2KWZB': [cfg.switch], + 'U202SRY2KWZB': [switchWithPostfix('l1'), switchWithPostfix('l2')], }; Object.keys(mapping).forEach((key) => { diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index 3f7432e2..ca39729a 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -14819,9 +14819,9 @@ } }, "zigbee-herdsman-converters": { - "version": "12.0.47", - "resolved": "https://registry.npmjs.org/zigbee-herdsman-converters/-/zigbee-herdsman-converters-12.0.47.tgz", - "integrity": "sha512-7QyYPrOpMz9GCPZPWCvnxRxtTBeyD/GBEo7RnyCMbCQMEu+ArBgQGral+4KcZ8HuxOxf5/DVZazMCbWBIl/Avg==", + "version": "12.0.48", + "resolved": "https://registry.npmjs.org/zigbee-herdsman-converters/-/zigbee-herdsman-converters-12.0.48.tgz", + "integrity": "sha512-nDeZq6K+C9qKsk97E/Z9Exrc4vumKUUw6ezcyPpSaL5yrGCOY9DzJ4wiPSVmzXrezpisxZujvussBJqdm8B0Pw==", "requires": { "axios": "*", "tar-stream": "*" diff --git a/package.json b/package.json index 78269ea5..e2fe608b 100644 --- a/package.json +++ b/package.json @@ -46,7 +46,7 @@ "semver": "*", "winston": "*", "zigbee-herdsman": "0.12.63", - "zigbee-herdsman-converters": "12.0.47" + "zigbee-herdsman-converters": "12.0.48" }, "devDependencies": { "eslint": "*",