homebridge-config-ui-x
Version:
A web based management, configuration and control platform for Homebridge.
23 lines (22 loc) • 945 B
TypeScript
import type { ChildBridgeMetadata } from './child-bridges.interfaces.js';
import { HomebridgeIpcService } from '../../core/homebridge-ipc/homebridge-ipc.service.js';
import { AccessoriesService } from '../accessories/accessories.service.js';
export declare class ChildBridgesService {
private readonly homebridgeIpcService;
private readonly accessoriesService;
constructor(homebridgeIpcService: HomebridgeIpcService, accessoriesService: AccessoriesService);
getChildBridges(): Promise<ChildBridgeMetadata[]>;
watchChildBridgeStatus(client: any): Promise<void>;
stopStartRestartChildBridge(event: 'startChildBridge' | 'stopChildBridge' | 'restartChildBridge', deviceId: string): {
ok: boolean;
};
restartChildBridge(deviceId: string): {
ok: boolean;
};
stopChildBridge(deviceId: string): {
ok: boolean;
};
startChildBridge(deviceId: string): {
ok: boolean;
};
}