mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2024-11-16 18:39:09 -07:00
Update zigbee-shepherd and zigbee-shepherd-conveters for 324131092621 support. #36
This commit is contained in:
parent
8b5938f73f
commit
356ed9fa39
@ -122,9 +122,9 @@ const configurations = {
|
||||
type: 'sensor',
|
||||
object_id: 'action',
|
||||
discovery_payload: {
|
||||
icon: 'mdi:cube',
|
||||
icon: 'mdi:gesture-double-tap',
|
||||
value_template: '{{ value_json.action }}',
|
||||
json_attributes: ['battery', 'voltage', 'angle', 'side', 'from_side', 'to_side'],
|
||||
json_attributes: ['battery', 'voltage', 'angle', 'side', 'from_side', 'to_side', 'brightness'],
|
||||
},
|
||||
},
|
||||
'sensor_brightness': {
|
||||
@ -291,6 +291,7 @@ const mapping = {
|
||||
'8718696485880': [configurations.light_brightness_colortemp_xy],
|
||||
'8718696598283': [configurations.light_brightness_colortemp],
|
||||
'73693': [configurations.light_brightness_colortemp_xy],
|
||||
'324131092621': [configurations.sensor_action],
|
||||
};
|
||||
|
||||
// A map of all discoverd devices
|
||||
|
21
npm-shrinkwrap.json
generated
21
npm-shrinkwrap.json
generated
@ -516,9 +516,9 @@
|
||||
"dev": true
|
||||
},
|
||||
"eslint": {
|
||||
"version": "5.0.1",
|
||||
"resolved": "https://registry.npmjs.org/eslint/-/eslint-5.0.1.tgz",
|
||||
"integrity": "sha512-D5nG2rErquLUstgUaxJlWB5+gu+U/3VDY0fk/Iuq8y9CUFy/7Y6oF4N2cR1tV8knzQvciIbfqfohd359xTLIKQ==",
|
||||
"version": "5.1.0",
|
||||
"resolved": "https://registry.npmjs.org/eslint/-/eslint-5.1.0.tgz",
|
||||
"integrity": "sha512-DyH6JsoA1KzA5+OSWFjg56DFJT+sDLO0yokaPZ9qY0UEmYrPA1gEX/G1MnVkmRDsksG4H1foIVz2ZXXM3hHYvw==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"ajv": "6.5.2",
|
||||
@ -528,6 +528,7 @@
|
||||
"debug": "3.1.0",
|
||||
"doctrine": "2.1.0",
|
||||
"eslint-scope": "4.0.0",
|
||||
"eslint-utils": "1.3.1",
|
||||
"eslint-visitor-keys": "1.0.0",
|
||||
"espree": "4.0.0",
|
||||
"esquery": "1.0.1",
|
||||
@ -588,6 +589,12 @@
|
||||
"estraverse": "4.2.0"
|
||||
}
|
||||
},
|
||||
"eslint-utils": {
|
||||
"version": "1.3.1",
|
||||
"resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-1.3.1.tgz",
|
||||
"integrity": "sha512-Z7YjnIldX+2XMcjr7ZkgEsOj/bREONV60qYeB/bjMAqqqZ4zxKyWX+BOUkdmRmA9riiIPVvo5x86m5elviOk0Q==",
|
||||
"dev": true
|
||||
},
|
||||
"eslint-visitor-keys": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz",
|
||||
@ -2831,7 +2838,7 @@
|
||||
}
|
||||
},
|
||||
"zigbee-shepherd": {
|
||||
"version": "git+https://github.com/Koenkk/zigbee-shepherd.git#a2f4564cfd1d09a233c8dc46db579c5fa07f02f0",
|
||||
"version": "git+https://github.com/Koenkk/zigbee-shepherd.git#22f6a3b46a948e46b0ad6bab8c6b528fc4acbaea",
|
||||
"requires": {
|
||||
"areq": "0.2.0",
|
||||
"busyman": "0.3.0",
|
||||
@ -2859,9 +2866,9 @@
|
||||
}
|
||||
},
|
||||
"zigbee-shepherd-converters": {
|
||||
"version": "2.0.22",
|
||||
"resolved": "https://registry.npmjs.org/zigbee-shepherd-converters/-/zigbee-shepherd-converters-2.0.22.tgz",
|
||||
"integrity": "sha512-YTki0D5hiA44+Snu95Lw880WF+w6bBR2/YpDOWgAkSPhMG8MwN/tReOghdD12+4K/BRfqxutexTD6SSJtaKXXQ==",
|
||||
"version": "2.0.23",
|
||||
"resolved": "https://registry.npmjs.org/zigbee-shepherd-converters/-/zigbee-shepherd-converters-2.0.23.tgz",
|
||||
"integrity": "sha512-wiBPcrOmnB4mH1UsbeF66D8tOqsLRt8W6xcXU79KC8qeLSkla2nfyK96onSVn0UEe4VrUkG/NCmbfYoIgpVwCg==",
|
||||
"requires": {
|
||||
"debounce": "1.1.0"
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user