diff --git a/lib/extension/homeassistant.js b/lib/extension/homeassistant.js index bbf36953..956c405f 100644 --- a/lib/extension/homeassistant.js +++ b/lib/extension/homeassistant.js @@ -1299,9 +1299,9 @@ const mapping = { '4512702': [cfg.sensor_action, cfg.sensor_battery], '4090331P9': [cfg.light_brightness_colortemp_colorxy], 'HS1EB': [cfg.sensor_click], - 'HM-900SW_1': [cfg.switch], - 'HM-900SW_2': [switchWithPostfix('left'), switchWithPostfix('right')], - 'HM-900SW_3': [switchWithPostfix('left'), switchWithPostfix('right'), switchWithPostfix('center')], + 'HS2SW1A-N': [cfg.switch], + 'HS2SW2A-N': [switchWithPostfix('left'), switchWithPostfix('right')], + 'HS2SW3A-N': [switchWithPostfix('left'), switchWithPostfix('right'), switchWithPostfix('center')], 'LifeControl_Leak_Sensor': [cfg.binary_sensor_water_leak, cfg.sensor_battery], 'LifeControl_Door_Sensor': [cfg.binary_sensor_contact, cfg.sensor_battery], 'LifeControl_RGB_Led': [cfg.light_brightness_colortemp_colorxy], @@ -1315,6 +1315,7 @@ const mapping = { 'U201SRY2KWZB': [cfg.switch], 'U202SRY2KWZB': [switchWithPostfix('l1'), switchWithPostfix('l2')], '93999': [cfg.light_brightness], + 'HLC614-ZLL': [switchWithPostfix('l1'), switchWithPostfix('l2'), switchWithPostfix('l3')], }; Object.keys(mapping).forEach((key) => { diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index c0fe651a..6de25281 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -5194,9 +5194,9 @@ "dev": true }, "prompts": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/prompts/-/prompts-2.3.1.tgz", - "integrity": "sha512-qIP2lQyCwYbdzcqHIUi2HAxiWixhoM9OdLCWf8txXsapC/X9YdsCoeyRIXE/GP+Q0J37Q7+XN/MFqbUa7IzXNA==", + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/prompts/-/prompts-2.3.2.tgz", + "integrity": "sha512-Q06uKs2CkNYVID0VqwfAl9mipo99zkBv/n2JtWY89Yxa3ZabWSrs0e2KTudKVa3peLUvYXMefDqIleLPVUBZMA==", "dev": true, "requires": { "kleur": "^3.0.3", @@ -5728,9 +5728,9 @@ } }, "sisteransi": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.4.tgz", - "integrity": "sha512-/ekMoM4NJ59ivGSfKapeG+FWtrmWvA1p6FBZwXrqojw90vJu8lBmrTxCMuBCydKtkaUe2zt4PlxeTKpjwMbyig==", + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.5.tgz", + "integrity": "sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==", "dev": true }, "slash": { @@ -14811,9 +14811,9 @@ } }, "zigbee-herdsman-converters": { - "version": "12.0.51", - "resolved": "https://registry.npmjs.org/zigbee-herdsman-converters/-/zigbee-herdsman-converters-12.0.51.tgz", - "integrity": "sha512-0oHwO9eHSizz/M79Yp9+u+YFs2L9f9eDh6grWp5mrmw40ajpcfXj0k2kzWNCFFdOj5M7FR4glAzpUj6SZyyeXA==", + "version": "12.0.52", + "resolved": "https://registry.npmjs.org/zigbee-herdsman-converters/-/zigbee-herdsman-converters-12.0.52.tgz", + "integrity": "sha512-AXPhjkodRXDWenz+3UaYQYtr50UqnCBdzR2GsnGMLkR/A183q/Vj0BHDtRlcH7MY3HwiWVP3hcJBTF9ycqwKSw==", "requires": { "axios": "*", "tar-stream": "*" diff --git a/package.json b/package.json index 03730712..84a01e6b 100644 --- a/package.json +++ b/package.json @@ -46,7 +46,7 @@ "semver": "*", "winston": "*", "zigbee-herdsman": "0.12.64", - "zigbee-herdsman-converters": "12.0.51" + "zigbee-herdsman-converters": "12.0.52" }, "devDependencies": { "eslint": "*",