Skip to content

Commit

Permalink
[homekit] properly expose services from dummy accessories (openhab#14169
Browse files Browse the repository at this point in the history
)

Signed-off-by: Cody Cutrer <cody@cutrer.us>
  • Loading branch information
ccutrer authored and renescherer committed Mar 23, 2023
1 parent ebb9b7b commit 96a6508
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

import java.io.StringReader;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import java.util.concurrent.CompletableFuture;

Expand Down Expand Up @@ -161,4 +162,9 @@ public CompletableFuture<String> getManufacturer() {
public CompletableFuture<String> getFirmwareRevision() {
return CompletableFuture.completedFuture("none");
}

@Override
public Collection<Service> getServices() {
return services;
}
}

0 comments on commit 96a6508

Please sign in to comment.