[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
parent
3f0c0ebf1f
commit
9368f44896
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue