Update herdsman converters.

This commit is contained in:
Koen Kanters
2019-11-08 18:59:27 +01:00
parent 6c453738d4
commit 720e3930e3
3 changed files with 16 additions and 8 deletions
+9 -1
View File
@@ -239,6 +239,14 @@ const cfg = {
icon: 'mdi:google-circles-communities',
},
},
'sensor_smoke_density': {
type: 'sensor',
object_id: 'smoke_density',
discovery_payload: {
value_template: '{{ value_json.smoke_density }}',
icon: 'mdi:google-circles-communities',
},
},
'sensor_cover': {
type: 'sensor',
object_id: 'cover',
@@ -451,7 +459,7 @@ const mapping = {
'7146060PH': [cfg.light_brightness_colortemp_colorxy],
'046677476816': [cfg.light_brightness],
'F7C033': [cfg.light_brightness],
'JTYJ-GD-01LM/BW': [cfg.binary_sensor_smoke, cfg.sensor_battery, cfg.sensor_sensitivity],
'JTYJ-GD-01LM/BW': [cfg.binary_sensor_smoke, cfg.sensor_battery, cfg.sensor_sensitivity, cfg.sensor_smoke_density],
'PLUG EDP RE:DY': [cfg.switch, cfg.sensor_power],
'SWITCH EDP RE:DY': [cfg.switch],
'CC2530.ROUTER': [cfg.binary_sensor_router],
+6 -6
View File
@@ -1644,9 +1644,9 @@
"dev": true
},
"eslint-plugin-jest": {
"version": "23.0.2",
"resolved": "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-23.0.2.tgz",
"integrity": "sha512-fkxcvOJm0hC/jbJqYJjtuC9mvpTJqXd0Nixx7joVQvJoBQuXk/ws3+MtRYzD/4TcKSgvr21uuSLdwSxKJKC2cg==",
"version": "23.0.3",
"resolved": "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-23.0.3.tgz",
"integrity": "sha512-9cNxr66zeOyz1S9AkQL4/ouilR6QHpYj8vKOQZ60fu9hAt5PJWS4KqWqfr1aqN5NFEZSPjFOla2Azn+KTWiGwg==",
"dev": true,
"requires": {
"@typescript-eslint/experimental-utils": "^2.5.0"
@@ -12637,9 +12637,9 @@
}
},
"zigbee-herdsman-converters": {
"version": "11.1.39",
"resolved": "https://registry.npmjs.org/zigbee-herdsman-converters/-/zigbee-herdsman-converters-11.1.39.tgz",
"integrity": "sha512-woEM3dp2zfIe5hjrCr4U4/kelYoixiAJEZsPEw21xgtgjw/ehTcH8uwVZyqohPEA2y5mYiziCFGmjM/awZiMDw=="
"version": "11.1.40",
"resolved": "https://registry.npmjs.org/zigbee-herdsman-converters/-/zigbee-herdsman-converters-11.1.40.tgz",
"integrity": "sha512-E2raZCAWdTv7MIPvGICJmbo8Bhw4A4eQPCS96p2/oXgwmdYNTCC9iClCqbz7oX9NaeeBuh03s3ctiPOAa9QJyg=="
}
}
}
+1 -1
View File
@@ -46,7 +46,7 @@
"semver": "*",
"winston": "*",
"zigbee-herdsman": "0.12.3",
"zigbee-herdsman-converters": "11.1.39"
"zigbee-herdsman-converters": "11.1.40"
},
"devDependencies": {
"eslint": "*",