File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
src/main/java/com/beowulfe/hap/accessories Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 44import java .util .Collections ;
55import java .util .concurrent .CompletableFuture ;
66
7- import com .beowulfe .hap .HomekitAccessory ;
8- import com .beowulfe .hap .HomekitCharacteristicChangeCallback ;
9- import com .beowulfe .hap .Service ;
7+ import com .beowulfe .hap .*;
108import com .beowulfe .hap .impl .services .OutletService ;
119
1210/**
@@ -39,7 +37,7 @@ default public Collection<Service> getServices() {
3937 * @return a future that completes when the change is made
4038 * @throws Exception when the change cannot be made
4139 */
42- public CompletableFuture <Void > setPowerState (boolean state );
40+ public CompletableFuture <Void > setPowerState (boolean state ) throws Exception ;
4341
4442 /**
4543 * Subscribes to changes in the binary state of the outlet's power.
You can’t perform that action at this time.
0 commit comments