mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2026-10-22 22:11:22 +00:00
Update zigbee-shepherd-converters to 0.1.5. #71
This commit is contained in:
1 parent
5666a59524
commit
7801493a7a
2 files changed
+13
-13
No files matched your search
+10
-10
@@ -10,7 +10,7 @@ const configurations = {
|
||||
payload_off: false,
|
||||
value_template: '{{ value_json.occupancy }}',
|
||||
device_class: 'motion',
|
||||
json_attributes: ['battery'],
|
||||
json_attributes: ['battery', 'voltage'],
|
||||
},
|
||||
},
|
||||
'binary_sensor_contact': {
|
||||
@@ -21,7 +21,7 @@ const configurations = {
|
||||
payload_off: true,
|
||||
value_template: '{{ value_json.contact }}',
|
||||
device_class: 'door',
|
||||
json_attributes: ['battery'],
|
||||
json_attributes: ['battery', 'voltage'],
|
||||
},
|
||||
},
|
||||
'binary_sensor_water_leak': {
|
||||
@@ -32,7 +32,7 @@ const configurations = {
|
||||
payload_off: false,
|
||||
value_template: '{{ value_json.water_leak }}',
|
||||
device_class: 'moisture',
|
||||
json_attributes: ['battery'],
|
||||
json_attributes: ['battery', 'voltage'],
|
||||
},
|
||||
},
|
||||
'binary_sensor_smoke': {
|
||||
@@ -43,7 +43,7 @@ const configurations = {
|
||||
payload_off: false,
|
||||
value_template: '{{ value_json.smoke }}',
|
||||
device_class: 'smoke',
|
||||
json_attributes: ['battery'],
|
||||
json_attributes: ['battery', 'voltage'],
|
||||
},
|
||||
},
|
||||
'binary_sensor_router': {
|
||||
@@ -66,7 +66,7 @@ const configurations = {
|
||||
unit_of_measurement: 'lx',
|
||||
icon: 'mdi:theme-light-dark',
|
||||
value_template: '{{ value_json.illuminance }}',
|
||||
json_attributes: ['battery'],
|
||||
json_attributes: ['battery', 'voltage'],
|
||||
},
|
||||
},
|
||||
'sensor_humidity': {
|
||||
@@ -76,7 +76,7 @@ const configurations = {
|
||||
unit_of_measurement: '%',
|
||||
icon: 'mdi:water-percent',
|
||||
value_template: '{{ value_json.humidity }}',
|
||||
json_attributes: ['battery'],
|
||||
json_attributes: ['battery', 'voltage'],
|
||||
},
|
||||
},
|
||||
'sensor_temperature': {
|
||||
@@ -86,7 +86,7 @@ const configurations = {
|
||||
unit_of_measurement: '°C',
|
||||
icon: 'mdi:temperature-celsius',
|
||||
value_template: '{{ value_json.temperature }}',
|
||||
json_attributes: ['battery'],
|
||||
json_attributes: ['battery', 'voltage'],
|
||||
},
|
||||
},
|
||||
'sensor_pressure': {
|
||||
@@ -96,7 +96,7 @@ const configurations = {
|
||||
unit_of_measurement: 'Pa',
|
||||
icon: 'mdi:speedometer',
|
||||
value_template: '{{ value_json.pressure }}',
|
||||
json_attributes: ['battery'],
|
||||
json_attributes: ['battery', 'voltage'],
|
||||
},
|
||||
},
|
||||
'sensor_click': {
|
||||
@@ -105,7 +105,7 @@ const configurations = {
|
||||
discovery_payload: {
|
||||
icon: 'mdi:toggle-switch',
|
||||
value_template: '{{ value_json.click }}',
|
||||
json_attributes: ['battery'],
|
||||
json_attributes: ['battery', 'voltage'],
|
||||
},
|
||||
},
|
||||
'sensor_power': {
|
||||
@@ -124,7 +124,7 @@ const configurations = {
|
||||
discovery_payload: {
|
||||
icon: 'mdi:cube',
|
||||
value_template: '{{ value_json.action }}',
|
||||
json_attributes: ['battery'],
|
||||
json_attributes: ['battery', 'voltage'],
|
||||
},
|
||||
},
|
||||
|
||||
|
||||
Generated
+3
-3
@@ -2805,9 +2805,9 @@
|
||||
}
|
||||
},
|
||||
"zigbee-shepherd-converters": {
|
||||
"version": "0.1.4",
|
||||
"resolved": "https://registry.npmjs.org/zigbee-shepherd-converters/-/zigbee-shepherd-converters-0.1.4.tgz",
|
||||
"integrity": "sha512-y885cXOw2iFUF8TWmNCjAks/po5TJiZg7+J6cgRRRNMGhSXA9UxWkfWI5uVuOSPZ6+rWgGnLaZcV16EQk8yGBA==",
|
||||
"version": "0.1.5",
|
||||
"resolved": "https://registry.npmjs.org/zigbee-shepherd-converters/-/zigbee-shepherd-converters-0.1.5.tgz",
|
||||
"integrity": "sha512-JRcc/jwQm+wOyv2yyJ8J0EryBfNtLikPoND4GS+lEZimPvzRX6NZMoc5A8Q9olLIE9hMmdp/aTdb0EhcrFfNaw==",
|
||||
"dependencies": {
|
||||
"acorn": {
|
||||
"version": "5.5.3",
|
||||
|
||||
Reference in new issue
Block a user