Update converters.

This commit is contained in:
Koen Kanters
2020-02-01 17:35:20 +01:00
parent 313edcc445
commit 5d8a9a3e51
3 changed files with 12 additions and 8 deletions
+5 -1
View File
@@ -1104,7 +1104,7 @@ const mapping = {
'WXCJKG11LM': [cfg.sensor_action, cfg.sensor_battery],
'WXCJKG12LM': [cfg.sensor_action, cfg.sensor_battery],
'WXCJKG13LM': [cfg.sensor_action, cfg.sensor_battery],
'9290022230': [cfg.sensor_action, cfg.sensor_battery],
'8718699693985': [cfg.sensor_action, cfg.sensor_battery],
'GL-D-004ZS': [cfg.light_brightness_colortemp_colorxy],
'AC10787': [cfg.light_brightness_colortemp],
'F-APP-UK-V2': [cfg.switch],
@@ -1194,6 +1194,10 @@ const mapping = {
'4512704': [cfg.switch],
'AV2010/24A': [cfg.binary_sensor_smoke, cfg.binary_sensor_battery_low, cfg.binary_sensor_tamper],
'ROB_200-014-0': [cfg.light_brightness],
'4090631P7': [cfg.light_brightness_colortemp_colorxy],
'SGMHM-I1': [cfg.binary_sensor_gas, cfg.binary_sensor_battery_low, cfg.binary_sensor_tamper],
'STHM-I1H': [cfg.sensor_humidity, cfg.sensor_temperature, cfg.sensor_battery],
'BDHM8E27W70-I1': [cfg.light_brightness_colortemp],
};
Object.keys(mapping).forEach((key) => {
+6 -6
View File
@@ -781,9 +781,9 @@
"dev": true
},
"@types/yargs": {
"version": "15.0.2",
"resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-15.0.2.tgz",
"integrity": "sha512-hFkuAp58M2xOc1QgJhkFrLMnqa8KWTFRTnzrI1zlEcOfg3DZ0eH3aPAo/N6QlVVu8E4KS4xD1jtEG3rdQYFmIg==",
"version": "15.0.3",
"resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-15.0.3.tgz",
"integrity": "sha512-XCMQRK6kfpNBixHLyHUsGmXrpEmFFxzMrcnSXFMziHd8CoNJo8l16FkHyQq4x+xbM7E2XL83/O78OD8u+iZTdQ==",
"dev": true,
"requires": {
"@types/yargs-parser": "*"
@@ -13445,9 +13445,9 @@
}
},
"zigbee-herdsman-converters": {
"version": "12.0.14",
"resolved": "https://registry.npmjs.org/zigbee-herdsman-converters/-/zigbee-herdsman-converters-12.0.14.tgz",
"integrity": "sha512-auaufrzDor7fXKXqAW2gTAL1B5w03ozH0WXv9GMAdQmPDfOy+U4gX2R2YAeqN5R7n1N0GuzhdrwRDJyAOlzf2w==",
"version": "12.0.15",
"resolved": "https://registry.npmjs.org/zigbee-herdsman-converters/-/zigbee-herdsman-converters-12.0.15.tgz",
"integrity": "sha512-JSwQsLtHlzYaDIlwcJPe4YwNjq3Zyi3FFhJTbgdR0vOQs3pCIZYG63nX+xrEfJMfISgbeQE0jMLp10rRn9xCiQ==",
"dependencies": {
"@babel/code-frame": {
"version": "7.5.5",
+1 -1
View File
@@ -46,7 +46,7 @@
"semver": "*",
"winston": "*",
"zigbee-herdsman": "0.12.43",
"zigbee-herdsman-converters": "12.0.14"
"zigbee-herdsman-converters": "12.0.15"
},
"devDependencies": {
"eslint": "*",