From 9368f44896001cc0d0df7614d980e3218ce04dff Mon Sep 17 00:00:00 2001 From: eugen Date: Fri, 8 Jan 2021 23:18:32 +0100 Subject: [PATCH] [homekit] use item name as accessory serial (#9748) Signed-off-by: Eugen Freiter Co-authored-by: Eugen Freiter --- .../internal/accessories/AbstractHomekitAccessoryImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundles/org.openhab.io.homekit/src/main/java/org/openhab/io/homekit/internal/accessories/AbstractHomekitAccessoryImpl.java b/bundles/org.openhab.io.homekit/src/main/java/org/openhab/io/homekit/internal/accessories/AbstractHomekitAccessoryImpl.java index 5ad3227cfda..520c1567915 100644 --- a/bundles/org.openhab.io.homekit/src/main/java/org/openhab/io/homekit/internal/accessories/AbstractHomekitAccessoryImpl.java +++ b/bundles/org.openhab.io.homekit/src/main/java/org/openhab/io/homekit/internal/accessories/AbstractHomekitAccessoryImpl.java @@ -96,7 +96,7 @@ abstract class AbstractHomekitAccessoryImpl implements HomekitAccessory { @Override public CompletableFuture getSerialNumber() { - return CompletableFuture.completedFuture("none"); + return CompletableFuture.completedFuture(accessory.getItem().getName()); } @Override