mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2026-08-28 22:28:18 +00:00
Merge pull request #218 from arontsang/master
Allow user to able use the same kind of click multiple times
This commit is contained in:
@@ -106,6 +106,7 @@ const configurations = {
|
||||
icon: 'mdi:toggle-switch',
|
||||
value_template: '{{ value_json.click }}',
|
||||
json_attributes: ['battery', 'voltage', 'action', 'duration'],
|
||||
force_update: true,
|
||||
},
|
||||
},
|
||||
'sensor_power': {
|
||||
@@ -125,6 +126,7 @@ const configurations = {
|
||||
icon: 'mdi:gesture-double-tap',
|
||||
value_template: '{{ value_json.action }}',
|
||||
json_attributes: ['battery', 'voltage', 'angle', 'side', 'from_side', 'to_side', 'brightness'],
|
||||
force_update: true,
|
||||
},
|
||||
},
|
||||
'sensor_brightness': {
|
||||
|
||||
Reference in New Issue
Block a user