mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-10 23:22:02 +01:00
[homekit] properly expose services from dummy accessories (#14169)
Signed-off-by: Cody Cutrer <cody@cutrer.us>
This commit is contained in:
parent
5655303cf1
commit
7608c41484
@ -14,6 +14,7 @@ package org.openhab.io.homekit.internal.accessories;
|
|||||||
|
|
||||||
import java.io.StringReader;
|
import java.io.StringReader;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
import java.util.Collection;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.concurrent.CompletableFuture;
|
import java.util.concurrent.CompletableFuture;
|
||||||
|
|
||||||
@ -161,4 +162,9 @@ public class DummyHomekitAccessory implements HomekitAccessory {
|
|||||||
public CompletableFuture<String> getFirmwareRevision() {
|
public CompletableFuture<String> getFirmwareRevision() {
|
||||||
return CompletableFuture.completedFuture("none");
|
return CompletableFuture.completedFuture("none");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Collection<Service> getServices() {
|
||||||
|
return services;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user