[homekit] use item name as accessory serial (#9748)

Signed-off-by: Eugen Freiter <freiter@gmx.de>

Co-authored-by: Eugen Freiter <freiter@gmx.de>
pull/9762/head
eugen 2021-01-08 23:18:32 +01:00 committed by GitHub
parent 3f0c0ebf1f
commit 9368f44896
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ abstract class AbstractHomekitAccessoryImpl implements HomekitAccessory {
@Override
public CompletableFuture<String> getSerialNumber() {
return CompletableFuture.completedFuture("none");
return CompletableFuture.completedFuture(accessory.getItem().getName());
}
@Override