Update converters.

This commit is contained in:
Koen Kanters 2020-03-18 22:50:45 +01:00
parent 73dab78c37
commit 9b80b6785d
3 changed files with 14 additions and 13 deletions

View File

@ -1299,9 +1299,9 @@ const mapping = {
'4512702': [cfg.sensor_action, cfg.sensor_battery], '4512702': [cfg.sensor_action, cfg.sensor_battery],
'4090331P9': [cfg.light_brightness_colortemp_colorxy], '4090331P9': [cfg.light_brightness_colortemp_colorxy],
'HS1EB': [cfg.sensor_click], 'HS1EB': [cfg.sensor_click],
'HM-900SW_1': [cfg.switch], 'HS2SW1A-N': [cfg.switch],
'HM-900SW_2': [switchWithPostfix('left'), switchWithPostfix('right')], 'HS2SW2A-N': [switchWithPostfix('left'), switchWithPostfix('right')],
'HM-900SW_3': [switchWithPostfix('left'), switchWithPostfix('right'), switchWithPostfix('center')], 'HS2SW3A-N': [switchWithPostfix('left'), switchWithPostfix('right'), switchWithPostfix('center')],
'LifeControl_Leak_Sensor': [cfg.binary_sensor_water_leak, cfg.sensor_battery], 'LifeControl_Leak_Sensor': [cfg.binary_sensor_water_leak, cfg.sensor_battery],
'LifeControl_Door_Sensor': [cfg.binary_sensor_contact, cfg.sensor_battery], 'LifeControl_Door_Sensor': [cfg.binary_sensor_contact, cfg.sensor_battery],
'LifeControl_RGB_Led': [cfg.light_brightness_colortemp_colorxy], 'LifeControl_RGB_Led': [cfg.light_brightness_colortemp_colorxy],
@ -1315,6 +1315,7 @@ const mapping = {
'U201SRY2KWZB': [cfg.switch], 'U201SRY2KWZB': [cfg.switch],
'U202SRY2KWZB': [switchWithPostfix('l1'), switchWithPostfix('l2')], 'U202SRY2KWZB': [switchWithPostfix('l1'), switchWithPostfix('l2')],
'93999': [cfg.light_brightness], '93999': [cfg.light_brightness],
'HLC614-ZLL': [switchWithPostfix('l1'), switchWithPostfix('l2'), switchWithPostfix('l3')],
}; };
Object.keys(mapping).forEach((key) => { Object.keys(mapping).forEach((key) => {

18
npm-shrinkwrap.json generated
View File

@ -5194,9 +5194,9 @@
"dev": true "dev": true
}, },
"prompts": { "prompts": {
"version": "2.3.1", "version": "2.3.2",
"resolved": "https://registry.npmjs.org/prompts/-/prompts-2.3.1.tgz", "resolved": "https://registry.npmjs.org/prompts/-/prompts-2.3.2.tgz",
"integrity": "sha512-qIP2lQyCwYbdzcqHIUi2HAxiWixhoM9OdLCWf8txXsapC/X9YdsCoeyRIXE/GP+Q0J37Q7+XN/MFqbUa7IzXNA==", "integrity": "sha512-Q06uKs2CkNYVID0VqwfAl9mipo99zkBv/n2JtWY89Yxa3ZabWSrs0e2KTudKVa3peLUvYXMefDqIleLPVUBZMA==",
"dev": true, "dev": true,
"requires": { "requires": {
"kleur": "^3.0.3", "kleur": "^3.0.3",
@ -5728,9 +5728,9 @@
} }
}, },
"sisteransi": { "sisteransi": {
"version": "1.0.4", "version": "1.0.5",
"resolved": "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.4.tgz", "resolved": "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.5.tgz",
"integrity": "sha512-/ekMoM4NJ59ivGSfKapeG+FWtrmWvA1p6FBZwXrqojw90vJu8lBmrTxCMuBCydKtkaUe2zt4PlxeTKpjwMbyig==", "integrity": "sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==",
"dev": true "dev": true
}, },
"slash": { "slash": {
@ -14811,9 +14811,9 @@
} }
}, },
"zigbee-herdsman-converters": { "zigbee-herdsman-converters": {
"version": "12.0.51", "version": "12.0.52",
"resolved": "https://registry.npmjs.org/zigbee-herdsman-converters/-/zigbee-herdsman-converters-12.0.51.tgz", "resolved": "https://registry.npmjs.org/zigbee-herdsman-converters/-/zigbee-herdsman-converters-12.0.52.tgz",
"integrity": "sha512-0oHwO9eHSizz/M79Yp9+u+YFs2L9f9eDh6grWp5mrmw40ajpcfXj0k2kzWNCFFdOj5M7FR4glAzpUj6SZyyeXA==", "integrity": "sha512-AXPhjkodRXDWenz+3UaYQYtr50UqnCBdzR2GsnGMLkR/A183q/Vj0BHDtRlcH7MY3HwiWVP3hcJBTF9ycqwKSw==",
"requires": { "requires": {
"axios": "*", "axios": "*",
"tar-stream": "*" "tar-stream": "*"

View File

@ -46,7 +46,7 @@
"semver": "*", "semver": "*",
"winston": "*", "winston": "*",
"zigbee-herdsman": "0.12.64", "zigbee-herdsman": "0.12.64",
"zigbee-herdsman-converters": "12.0.51" "zigbee-herdsman-converters": "12.0.52"
}, },
"devDependencies": { "devDependencies": {
"eslint": "*", "eslint": "*",