From e76633519f00ae7355afd046323ab98276c13220 Mon Sep 17 00:00:00 2001 From: Koen Kanters Date: Thu, 9 Jan 2020 22:10:16 +0100 Subject: [PATCH] Update converters. --- lib/extension/homeassistant.js | 2 ++ npm-shrinkwrap.json | 24 ++++++++++++------------ package.json | 4 ++-- 3 files changed, 16 insertions(+), 14 deletions(-) diff --git a/lib/extension/homeassistant.js b/lib/extension/homeassistant.js index a6a4a419..c0ce479d 100644 --- a/lib/extension/homeassistant.js +++ b/lib/extension/homeassistant.js @@ -1075,6 +1075,7 @@ const mapping = { 'DIYRuZ_rspm': [cfg.switch, cfg.sensor_action, cfg.sensor_power, cfg.sensor_current], 'ZG9101SAC-HP-Switch': [cfg.switch], 'ZNCZ04LM': [cfg.switch, cfg.sensor_power], + 'ZNCZ12LM': [cfg.switch, cfg.sensor_power], 'GL-S-007ZS': [cfg.light_brightness_colortemp_colorxy], '4058075816732': [cfg.light_brightness_colortemp_colorxy], 'GL-B-007ZS': [cfg.light_brightness_colortemp_colorxy], @@ -1136,6 +1137,7 @@ const mapping = { cfg.lock_keypad_lockout, ], '046677551780': [cfg.light_brightness], + '798.15': [cfg.light_brightness], }; Object.keys(mapping).forEach((key) => { diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index cb1626b9..d85bf353 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -462,9 +462,9 @@ "dev": true }, "@types/yargs": { - "version": "13.0.4", - "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-13.0.4.tgz", - "integrity": "sha512-Ke1WmBbIkVM8bpvsNEcGgQM70XcEh/nbpxQhW7FhrsbCsXSY9BmLB1+LHtD7r9zrsOcFlLiF+a/UeJsdfw3C5A==", + "version": "13.0.5", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-13.0.5.tgz", + "integrity": "sha512-CF/+sxTO7FOwbIRL4wMv0ZYLCRfMid2HQpzDRyViH7kSpfoAFiMdGqKIxb1PxWfjtQXQhnQuD33lvRHNwr809Q==", "dev": true, "requires": { "@types/yargs-parser": "*" @@ -2819,9 +2819,9 @@ "dev": true }, "handlebars": { - "version": "4.5.3", - "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.5.3.tgz", - "integrity": "sha512-3yPecJoJHK/4c6aZhSvxOyG4vJKDshV36VHp0iVCDVh7o9w2vwi3NSnL2MMPj3YdduqaBcu7cGbggJQM0br9xA==", + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.6.0.tgz", + "integrity": "sha512-i1ZUP7Qp2JdkMaFon2a+b0m5geE8Z4ZTLaGkgrObkEd+OkUKyRbRWw4KxuFCoHfdETSY1yf9/574eVoNSiK7pw==", "dev": true, "requires": { "neo-async": "^2.6.0", @@ -6245,9 +6245,9 @@ } }, "zigbee-herdsman": { - "version": "0.12.27", - "resolved": "https://registry.npmjs.org/zigbee-herdsman/-/zigbee-herdsman-0.12.27.tgz", - "integrity": "sha512-iQgNwLmqMzLYfmdpiRonwIsqUiL4jVXdfDe9BWZUOgwNjhtjlxB9np7UheF6I3R1Fj+i2rvkYM+/BwOA1+tkOg==", + "version": "0.12.29", + "resolved": "https://registry.npmjs.org/zigbee-herdsman/-/zigbee-herdsman-0.12.29.tgz", + "integrity": "sha512-c09HtFSaQe69bd2BM9qGD+C+/SjEgGEhkEh625/pFiw7ak2nAjjrNVJERa2VkN+MzQL6zxthiik6eevFDWfRrw==", "requires": { "debug": "^4.1.1", "fast-deep-equal": "^2.0.1", @@ -12803,9 +12803,9 @@ } }, "zigbee-herdsman-converters": { - "version": "11.2.0", - "resolved": "https://registry.npmjs.org/zigbee-herdsman-converters/-/zigbee-herdsman-converters-11.2.0.tgz", - "integrity": "sha512-eZt7d0CYd8l9j4ZKWrLy6u64b3hZIAPQEJqB71dZeQm4XF0ojqI7sCEkIUZ5IJBHC1BG0B7P9SIerwkb7jqbuw==", + "version": "11.2.1", + "resolved": "https://registry.npmjs.org/zigbee-herdsman-converters/-/zigbee-herdsman-converters-11.2.1.tgz", + "integrity": "sha512-EYz0pD5+vxj+eulvq9OD9L4+kGDWe7e0NttvtzWXYMfj4lwjUBKgeBdEchPt4knsCH6hE8UJ5cNcaCnABy8sLA==", "dependencies": { "@babel/code-frame": { "version": "7.5.5", diff --git a/package.json b/package.json index dd0410f3..3d037859 100644 --- a/package.json +++ b/package.json @@ -45,8 +45,8 @@ "rimraf": "*", "semver": "*", "winston": "*", - "zigbee-herdsman": "0.12.27", - "zigbee-herdsman-converters": "11.2.0" + "zigbee-herdsman": "0.12.29", + "zigbee-herdsman-converters": "11.2.1" }, "devDependencies": { "eslint": "*",