Update zigbee-shepherd-converters to 4.0.11

This commit is contained in:
Koenkk
2018-10-31 17:10:28 +01:00
parent 1e7f985d4e
commit 2e736bf501
3 changed files with 16 additions and 4 deletions
+12
View File
@@ -13,6 +13,17 @@ const configurations = {
json_attributes: ['battery', 'voltage'],
},
},
'binary_sensor_presence': {
type: 'binary_sensor',
object_id: 'presence',
discovery_payload: {
payload_on: true,
payload_off: false,
value_template: '{{ value_json.presence }}',
device_class: 'presence',
json_attributes: ['battery', 'voltage', 'action'],
},
},
'binary_sensor_contact': {
type: 'binary_sensor',
object_id: 'contact',
@@ -361,6 +372,7 @@ const mapping = {
'MG-AUWS01': [switchWithPostfix('left'), switchWithPostfix('right')],
'9290002579A': [configurations.light_brightness_colortemp_xy],
'4256251-RZHAC': [configurations.switch, configurations.sensor_power],
'STS-PRS-251': [configurations.binary_sensor_presence],
};
// A map of all discoverd devices
+3 -3
View File
@@ -4762,9 +4762,9 @@
}
},
"zigbee-shepherd-converters": {
"version": "4.0.10",
"resolved": "https://registry.npmjs.org/zigbee-shepherd-converters/-/zigbee-shepherd-converters-4.0.10.tgz",
"integrity": "sha512-qF0JTvvr3GJ7lM620g9A1hVDykHx8yVtEG3tcZXFjm0qUf+xo+qG/QLHkmg5ptrOJ5vVMgDC6JmctJiR6BHW0g==",
"version": "4.0.11",
"resolved": "https://registry.npmjs.org/zigbee-shepherd-converters/-/zigbee-shepherd-converters-4.0.11.tgz",
"integrity": "sha512-YkccMLHCIM6C/rA95sAJt1eFHplUtDgMiZjrZZV/gHvtpNMF1N4Pcn2oVyucUfqHT6Vtgbu8+HXK3qSiLWmhVg==",
"requires": {
"debounce": "*"
},
+1 -1
View File
@@ -43,7 +43,7 @@
"winston": "2.4.2",
"zcl-packet": "git+https://github.com/Koenkk/zcl-packet.git#fbd8c936bbd4be0597ad3e934be0ca722b0128a6",
"zigbee-shepherd": "git+https://github.com/Koenkk/zigbee-shepherd.git#c3fdef2c30267573aa5821a0f2c51f21a700eff2",
"zigbee-shepherd-converters": "4.0.10"
"zigbee-shepherd-converters": "4.0.11"
},
"devDependencies": {
"chai": "*",