Update converters.

This commit is contained in:
Koen Kanters 2020-03-15 16:58:48 +01:00
parent 15bef07328
commit db57829068
3 changed files with 10 additions and 4 deletions

View File

@ -1307,6 +1307,12 @@ const mapping = {
'LifeControl_RGB_Led': [cfg.light_brightness_colortemp_colorxy], 'LifeControl_RGB_Led': [cfg.light_brightness_colortemp_colorxy],
'3323-G': [cfg.binary_sensor_occupancy, cfg.sensor_temperature, cfg.binary_sensor_battery_low], '3323-G': [cfg.binary_sensor_occupancy, cfg.sensor_temperature, cfg.binary_sensor_battery_low],
'ZL1000400-CCT-EU-2-V1A02': [cfg.light_brightness_colortemp], 'ZL1000400-CCT-EU-2-V1A02': [cfg.light_brightness_colortemp],
'PM-S140-ZB': [cfg.switch],
'PM-S240-ZB': [switchWithPostfix('top'), switchWithPostfix('bottom')],
'PM-S340-ZB': [switchWithPostfix('top'), switchWithPostfix('center'), switchWithPostfix('bottom')],
'U201DST600ZB': [cfg.light_brightness],
'U201SRY2KWZB': [cfg.switch],
'U202SRY2KWZB': [switchWithPostfix('l1'), switchWithPostfix('l2')],
}; };
Object.keys(mapping).forEach((key) => { Object.keys(mapping).forEach((key) => {

6
npm-shrinkwrap.json generated
View File

@ -14819,9 +14819,9 @@
} }
}, },
"zigbee-herdsman-converters": { "zigbee-herdsman-converters": {
"version": "12.0.47", "version": "12.0.48",
"resolved": "https://registry.npmjs.org/zigbee-herdsman-converters/-/zigbee-herdsman-converters-12.0.47.tgz", "resolved": "https://registry.npmjs.org/zigbee-herdsman-converters/-/zigbee-herdsman-converters-12.0.48.tgz",
"integrity": "sha512-7QyYPrOpMz9GCPZPWCvnxRxtTBeyD/GBEo7RnyCMbCQMEu+ArBgQGral+4KcZ8HuxOxf5/DVZazMCbWBIl/Avg==", "integrity": "sha512-nDeZq6K+C9qKsk97E/Z9Exrc4vumKUUw6ezcyPpSaL5yrGCOY9DzJ4wiPSVmzXrezpisxZujvussBJqdm8B0Pw==",
"requires": { "requires": {
"axios": "*", "axios": "*",
"tar-stream": "*" "tar-stream": "*"

View File

@ -46,7 +46,7 @@
"semver": "*", "semver": "*",
"winston": "*", "winston": "*",
"zigbee-herdsman": "0.12.63", "zigbee-herdsman": "0.12.63",
"zigbee-herdsman-converters": "12.0.47" "zigbee-herdsman-converters": "12.0.48"
}, },
"devDependencies": { "devDependencies": {
"eslint": "*", "eslint": "*",