mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2026-08-27 21:20:03 +00:00
Replace force_update with expire_after for home assistant buttons. https://github.com/Koenkk/zigbee2mqtt/issues/959
This commit is contained in:
@@ -119,7 +119,7 @@ const configurations = {
|
||||
discovery_payload: {
|
||||
icon: 'mdi:toggle-switch',
|
||||
value_template: '{{ value_json.click }}',
|
||||
force_update: true,
|
||||
expire_after: 1,
|
||||
},
|
||||
},
|
||||
'sensor_power': {
|
||||
@@ -137,7 +137,7 @@ const configurations = {
|
||||
discovery_payload: {
|
||||
icon: 'mdi:gesture-double-tap',
|
||||
value_template: '{{ value_json.action }}',
|
||||
force_update: true,
|
||||
expire_after: 1,
|
||||
},
|
||||
},
|
||||
'sensor_brightness': {
|
||||
|
||||
Reference in New Issue
Block a user