[homekit] fix pairing after update (#9769)
Signed-off-by: Eugen Freiter <freiter@gmx.de> Co-authored-by: Eugen Freiter <freiter@gmx.de>
This commit is contained in:
parent
25498701bf
commit
79b94e3e34
|
@ -173,7 +173,7 @@ public class HomekitImpl implements Homekit {
|
|||
changeListener.setBridge(bridge);
|
||||
this.bridge = bridge;
|
||||
bridge.setConfigurationIndex(changeListener.getConfigurationRevision());
|
||||
|
||||
bridge.refreshAuthInfo();
|
||||
final int lastAccessoryCount = changeListener.getLastAccessoryCount();
|
||||
int currentAccessoryCount = changeListener.getAccessories().size();
|
||||
if (currentAccessoryCount < lastAccessoryCount) {
|
||||
|
|
Loading…
Reference in New Issue