mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2024-11-16 18:39:09 -07:00
parent
de4f9f44fd
commit
c737f569f9
@ -107,7 +107,12 @@ class Zigbee {
|
||||
callback(null, true);
|
||||
}
|
||||
} else {
|
||||
callback(null, false);
|
||||
if (this.getAllClients().find((d) => d.ieeeAddr === devInfo.ieeeAddr)) {
|
||||
// Allow already connected devices to rejoin.
|
||||
callback(null, true);
|
||||
} else {
|
||||
callback(null, false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user