From 184eef72b0ded2a915e4f6475d575a29c5f26f6d Mon Sep 17 00:00:00 2001 From: Koen Kanters Date: Fri, 8 Mar 2019 17:39:15 +0100 Subject: [PATCH] Update zigbee-shepherd-converters to 7.2.6. --- lib/extension/homeassistant.js | 3 +- npm-shrinkwrap.json | 151 +++++++++++---------------------- package.json | 2 +- 3 files changed, 52 insertions(+), 104 deletions(-) diff --git a/lib/extension/homeassistant.js b/lib/extension/homeassistant.js index 2ec746218..8ccf4a6a2 100644 --- a/lib/extension/homeassistant.js +++ b/lib/extension/homeassistant.js @@ -536,7 +536,7 @@ const mapping = { configurations.binary_sensor_occupancy, configurations.sensor_temperature, configurations.sensor_illuminance, configurations.sensor_battery, ], - 'HGZB-042': [switchWithPostfix('left'), switchWithPostfix('right')], + 'HGZB-042': [switchWithPostfix('top'), switchWithPostfix('bottom')], 'GL-FL-004TZ': [configurations.light_brightness_colortemp_colorxy], 'IM6001-OTP05': [configurations.switch], 'SV01': [ @@ -558,6 +558,7 @@ const mapping = { '9290018195': [configurations.light_brightness], 'HGZB-04D': [configurations.light_brightness], 'HGZB-02A': [configurations.light_brightness], + 'HGZB-043': [switchWithPostfix('top'), switchWithPostfix('bottom'), switchWithPostfix('center')], }; Object.keys(mapping).forEach((key) => { diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index 5fee8a253..b04de15b5 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -254,9 +254,9 @@ } }, "@sinonjs/samsam": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/@sinonjs/samsam/-/samsam-3.2.0.tgz", - "integrity": "sha512-j5F1rScewLtx6pbTK0UAjA3jJj4RYiSKOix53YWv+Jzy/AZ69qHxUpU8fwVLjyKbEEud9QrLpv6Ggs7WqTimYw==", + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/@sinonjs/samsam/-/samsam-3.3.0.tgz", + "integrity": "sha512-beHeJM/RRAaLLsMJhsCvHK31rIqZuobfPLa/80yGH5hnD8PV1hyh9xJBJNFfNmO7yWqm+zomijHsXpI6iTQJfQ==", "dev": true, "requires": { "@sinonjs/commons": "^1.0.2", @@ -2367,16 +2367,6 @@ "resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz", "integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==" }, - "fill-keys": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/fill-keys/-/fill-keys-1.0.2.tgz", - "integrity": "sha1-mo+jb06K1jTjv2tPPIiCVRRS6yA=", - "dev": true, - "requires": { - "is-object": "~1.0.1", - "merge-descriptors": "~1.0.0" - } - }, "fill-range": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz", @@ -2812,18 +2802,18 @@ } }, "strip-ansi": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.0.0.tgz", - "integrity": "sha512-Uu7gQyZI7J7gn5qLn1Np3G9vcYGTVqB+lFTytnDJv83dd8T22aGH451P3jueT2/QemInJDfxHB5Tde5OzgG1Ow==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.1.0.tgz", + "integrity": "sha512-TjxrkPONqO2Z8QDCpeE2j6n0M6EwxzyDgzEeGp+FbdvaJAt//ClYi6W5my+3ROlC/hZX2KACUwDfK49Ka5eDvg==", "dev": true, "requires": { - "ansi-regex": "^4.0.0" + "ansi-regex": "^4.1.0" }, "dependencies": { "ansi-regex": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.0.0.tgz", - "integrity": "sha512-iB5Dda8t/UqpPI/IjsejXu5jOGDrzn41wJyljwPH65VCIbk6+1BzFIMJGFwTNrYXT1CrD+B4l19U7awiQ8rk7w==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", + "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==", "dev": true } } @@ -2973,12 +2963,6 @@ } } }, - "is-object": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-object/-/is-object-1.0.1.tgz", - "integrity": "sha1-iVJojF7C/9awPsyF52ngKQMINHA=", - "dev": true - }, "is-plain-object": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", @@ -3232,12 +3216,6 @@ "p-is-promise": "^2.0.0" } }, - "merge-descriptors": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", - "integrity": "sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E=", - "dev": true - }, "micromatch": { "version": "3.1.10", "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz", @@ -3376,12 +3354,6 @@ } } }, - "module-not-found-error": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/module-not-found-error/-/module-not-found-error-1.0.1.tgz", - "integrity": "sha1-z4tP9PKWQGdNbN0CsOO8UjwrvcA=", - "dev": true - }, "moment": { "version": "2.24.0", "resolved": "https://registry.npmjs.org/moment/-/moment-2.24.0.tgz", @@ -4845,12 +4817,6 @@ "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=", "dev": true }, - "path-parse": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz", - "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==", - "dev": true - }, "path-to-regexp": { "version": "1.7.0", "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-1.7.0.tgz", @@ -4935,17 +4901,6 @@ "resolved": "https://registry.npmjs.org/proving/-/proving-0.1.0.tgz", "integrity": "sha1-dL8fZ4yeXaeHV3CAyQxLaff/pqU=" }, - "proxyquire": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/proxyquire/-/proxyquire-2.1.0.tgz", - "integrity": "sha512-kptdFArCfGRtQFv3Qwjr10lwbEV0TBJYvfqzhwucyfEXqVgmnAkyEw/S3FYzR5HI9i5QOq4rcqQjZ6AlknlCDQ==", - "dev": true, - "requires": { - "fill-keys": "^1.0.2", - "module-not-found-error": "^1.0.0", - "resolve": "~1.8.1" - } - }, "pump": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", @@ -5076,15 +5031,6 @@ "integrity": "sha1-l/cXtp1IeE9fUmpsWqj/3aBVpNE=", "dev": true }, - "resolve": { - "version": "1.8.1", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.8.1.tgz", - "integrity": "sha512-AicPrAC7Qu1JxPCZ9ZgCZlY35QgFnNqc+0LtbRNxnVw4TXvjQ72wnuL9JQcEBgXkI9JM8MsT9kaQoHcpCRJOYA==", - "dev": true, - "requires": { - "path-parse": "^1.0.5" - } - }, "resolve-dir": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/resolve-dir/-/resolve-dir-1.0.1.tgz", @@ -5557,9 +5503,9 @@ }, "dependencies": { "ansi-regex": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.0.0.tgz", - "integrity": "sha512-iB5Dda8t/UqpPI/IjsejXu5jOGDrzn41wJyljwPH65VCIbk6+1BzFIMJGFwTNrYXT1CrD+B4l19U7awiQ8rk7w==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", + "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==", "dev": true }, "is-fullwidth-code-point": { @@ -5569,23 +5515,23 @@ "dev": true }, "string-width": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.0.0.tgz", - "integrity": "sha512-rr8CUxBbvOZDUvc5lNIJ+OC1nPVpz+Siw9VBtUjB9b6jZehZLFt0JMCZzShFHIsI8cbhm0EsNIfWJMFV3cu3Ew==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz", + "integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==", "dev": true, "requires": { "emoji-regex": "^7.0.1", "is-fullwidth-code-point": "^2.0.0", - "strip-ansi": "^5.0.0" + "strip-ansi": "^5.1.0" } }, "strip-ansi": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.0.0.tgz", - "integrity": "sha512-Uu7gQyZI7J7gn5qLn1Np3G9vcYGTVqB+lFTytnDJv83dd8T22aGH451P3jueT2/QemInJDfxHB5Tde5OzgG1Ow==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.1.0.tgz", + "integrity": "sha512-TjxrkPONqO2Z8QDCpeE2j6n0M6EwxzyDgzEeGp+FbdvaJAt//ClYi6W5my+3ROlC/hZX2KACUwDfK49Ka5eDvg==", "dev": true, "requires": { - "ansi-regex": "^4.0.0" + "ansi-regex": "^4.1.0" } } } @@ -6071,12 +6017,11 @@ } }, "zcl-id": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/zcl-id/-/zcl-id-0.2.0.tgz", - "integrity": "sha1-E5nV5ba6SbZtDVpQYgCGXTcRfo0=", + "version": "git+https://github.com/Koenkk/zcl-id.git#77ba3058c6c4b09a9958761ae5e3046765c12872", + "from": "git+https://github.com/Koenkk/zcl-id.git#77ba3058c6c4b09a9958761ae5e3046765c12872", "requires": { "busyman": "^0.3.0", - "enum": "^2.3.0" + "enum": "^2.5.0" } }, "zcl-packet": { @@ -6087,16 +6032,6 @@ "dissolve-chunks": "^1.3.0", "enum": "^2.3.0", "zcl-id": "git+https://github.com/Koenkk/zcl-id.git#77ba3058c6c4b09a9958761ae5e3046765c12872" - }, - "dependencies": { - "zcl-id": { - "version": "git+https://github.com/Koenkk/zcl-id.git#77ba3058c6c4b09a9958761ae5e3046765c12872", - "from": "git+https://github.com/Koenkk/zcl-id.git#77ba3058c6c4b09a9958761ae5e3046765c12872", - "requires": { - "busyman": "^0.3.0", - "enum": "^2.5.0" - } - } } }, "ziee": { @@ -6106,6 +6041,17 @@ "requires": { "busyman": "^0.3.0", "zcl-id": "^0.2.0" + }, + "dependencies": { + "zcl-id": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/zcl-id/-/zcl-id-0.2.0.tgz", + "integrity": "sha1-E5nV5ba6SbZtDVpQYgCGXTcRfo0=", + "requires": { + "busyman": "^0.3.0", + "enum": "^2.3.0" + } + } } }, "zigbee-shepherd": { @@ -6123,22 +6069,12 @@ "zcl-packet": "git+https://github.com/Koenkk/zcl-packet.git#59663cd2b72c544b7409975b0da1a8a4bfcd9832", "ziee": "^0.3.0", "zstack-constants": "^0.2.0" - }, - "dependencies": { - "zcl-id": { - "version": "git+https://github.com/Koenkk/zcl-id.git#77ba3058c6c4b09a9958761ae5e3046765c12872", - "from": "git+https://github.com/Koenkk/zcl-id.git#77ba3058c6c4b09a9958761ae5e3046765c12872", - "requires": { - "busyman": "^0.3.0", - "enum": "^2.5.0" - } - } } }, "zigbee-shepherd-converters": { - "version": "7.2.5", - "resolved": "https://registry.npmjs.org/zigbee-shepherd-converters/-/zigbee-shepherd-converters-7.2.5.tgz", - "integrity": "sha512-aKYTgUPuYnVXcgF/bD+uMOEc9OgHLdH5WvODtOMyU2/WqEPEpsa22i25JJhNGmDzMJwtiHO9XVxz5l/oUqyxuA==", + "version": "7.2.6", + "resolved": "https://registry.npmjs.org/zigbee-shepherd-converters/-/zigbee-shepherd-converters-7.2.6.tgz", + "integrity": "sha512-RmalIOfI8fQu3jpAd4i14m1bP+fx48ap6lCRZUuuSYPWl4MY6W6bEhxT/MHiXWVB/mHDyIMzvMyjPCxxwpc1Jw==", "requires": { "chai": "*", "debounce": "*", @@ -6163,6 +6099,17 @@ "requires": { "busyman": "^0.3.0", "zcl-id": "^0.2.0" + }, + "dependencies": { + "zcl-id": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/zcl-id/-/zcl-id-0.2.0.tgz", + "integrity": "sha1-E5nV5ba6SbZtDVpQYgCGXTcRfo0=", + "requires": { + "busyman": "^0.3.0", + "enum": "^2.3.0" + } + } } }, "zstack-constants": { diff --git a/package.json b/package.json index a977e0ab3..4d4edbeb0 100644 --- a/package.json +++ b/package.json @@ -46,7 +46,7 @@ "zcl-id": "git+https://github.com/Koenkk/zcl-id.git#77ba3058c6c4b09a9958761ae5e3046765c12872", "ziee": "*", "zigbee-shepherd": "git+https://github.com/Koenkk/zigbee-shepherd.git#ce12cdd9c7aa11ac9f7464839db6215d05926207", - "zigbee-shepherd-converters": "7.2.5", + "zigbee-shepherd-converters": "7.2.6", "zive": "*" }, "devDependencies": {