homebridge-gira-client
Version:
Homebridge Plugin für Gira Homeserver 4 mit automatischer Geräteerkennung über IoT REST API
19 lines • 890 B
TypeScript
import { PlatformAccessory } from 'homebridge';
import { PlatformContext, QuoadDevice, QuoadFunctionType, DeviceMapping } from './types';
import { GiraRestClient } from './gira-rest-client';
export declare class DeviceManager {
private readonly context;
private readonly giraClient;
private readonly deviceMappings;
constructor(context: PlatformContext, giraClient: GiraRestClient);
private initializeDeviceMappings;
createOrUpdateAccessory(device: QuoadDevice): Promise<PlatformAccessory | null>;
private getPrimaryFunction;
private createGenericMapping;
private setAccessoryCategory;
private setAccessoryInformation;
removeDevice(deviceId: string): Promise<void>;
getDeviceMapping(functionType: QuoadFunctionType): DeviceMapping | undefined;
getSupportedDeviceTypes(): QuoadFunctionType[];
}
//# sourceMappingURL=device-manager.d.ts.map