From 7608c414849c5e93b379320ca2a9b264c44370dc Mon Sep 17 00:00:00 2001 From: Cody Cutrer Date: Fri, 6 Jan 2023 08:25:42 -0700 Subject: [PATCH] [homekit] properly expose services from dummy accessories (#14169) Signed-off-by: Cody Cutrer --- .../homekit/internal/accessories/DummyHomekitAccessory.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bundles/org.openhab.io.homekit/src/main/java/org/openhab/io/homekit/internal/accessories/DummyHomekitAccessory.java b/bundles/org.openhab.io.homekit/src/main/java/org/openhab/io/homekit/internal/accessories/DummyHomekitAccessory.java index 047c63c4d8c..4d53727f80a 100644 --- a/bundles/org.openhab.io.homekit/src/main/java/org/openhab/io/homekit/internal/accessories/DummyHomekitAccessory.java +++ b/bundles/org.openhab.io.homekit/src/main/java/org/openhab/io/homekit/internal/accessories/DummyHomekitAccessory.java @@ -14,6 +14,7 @@ package org.openhab.io.homekit.internal.accessories; import java.io.StringReader; import java.util.ArrayList; +import java.util.Collection; import java.util.List; import java.util.concurrent.CompletableFuture; @@ -161,4 +162,9 @@ public class DummyHomekitAccessory implements HomekitAccessory { public CompletableFuture getFirmwareRevision() { return CompletableFuture.completedFuture("none"); } + + @Override + public Collection getServices() { + return services; + } }