blob: 34b92e052bca47bcc7424d4ceaa5e464b20d11e3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
export function managed_objects() {
return new Promise((resolve, reject) => {
resolve({
devices: []
})
});
}
let _powered = false
export function adapter_state(new_state) {
return new Promise((resolve, reject) => {
if (typeof new_state !== undefined)
_powered = new_state.powered;
resolve({
powered: _powered
});
});
}
export function pair() {
}
export function connect() {
}
export function disconnect() {
}
|