lavva.exalushome
Version:
Library implementing communication and abstraction layers for ExalusHome system
12 lines (11 loc) • 777 B
TypeScript
import { IDIService } from "../../IDIService";
import { ManuallyPairedDevice } from "./IDevice";
import { IManuallyPairedDevicesProtocolService } from "./IManuallyPairedDevicesProtocolService";
import { DeviceTaskExecutionResult } from "./TaskExecutionResult";
export interface IManuallyPairedDevicesService extends IDIService {
RegisterManuallyPairedDevicesProtocol(service: IManuallyPairedDevicesProtocolService): void;
GetRegisteredProtocolGuids(): string[];
GetDevicesForManualPairingAsync(protocolExtensonGuid?: string): Promise<ManuallyPairedDevice[]>;
GetDevicesForManualPairingAsync(protocolExtensonGuids?: string[]): Promise<ManuallyPairedDevice[]>;
AddManuallyPairedDeviceAsync(device: ManuallyPairedDevice): Promise<DeviceTaskExecutionResult>;
}