mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2024-11-17 02:48:31 -07:00
Fix touchlink factory reset failing with ''BUFFER' not available' error. #4543
This commit is contained in:
parent
a7f931b8e3
commit
2fb3cb62f6
@ -452,7 +452,7 @@ class BridgeLegacy extends Extension {
|
||||
'bridge/log',
|
||||
stringify({type: `touchlink`, message: 'reset_started', meta: {status: 'started'}}),
|
||||
);
|
||||
const result = await this.zigbee.touchlinkFactoryReset();
|
||||
const result = await this.zigbee.touchlinkFactoryResetFirst();
|
||||
|
||||
if (result) {
|
||||
logger.info('Successfully factory reset device through Touchlink');
|
||||
|
Loading…
Reference in New Issue
Block a user