homebridge-touchwand-google
Version:
33 lines (32 loc) • 895 B
TypeScript
import { HapService, AccessoryTypeExecuteResponse } from '../interfaces';
export declare class Switch {
private deviceType;
constructor(type: any);
sync(service: HapService): {
id: string;
type: string;
traits: string[];
name: {
defaultNames: any[];
name: string;
nicknames: any[];
};
willReportState: boolean;
deviceInfo: {
manufacturer: any;
model: any;
};
customData: {
aid: number;
iid: number;
instanceUsername: string;
instanceIpAddress: string;
instancePort: number;
};
};
query(service: HapService): {
on: boolean;
online: boolean;
};
execute(service: HapService, command: any): AccessoryTypeExecuteResponse;
}