UNPKG

homebridge-gsh

Version:
14 lines (13 loc) 584 B
import { ServiceType } from '@homebridge/hap-client'; import { SmartHomeV1ExecuteRequestCommands, SmartHomeV1ExecuteResponseCommands } from 'actions-on-google'; import { ghToHap, ghToHap_t } from './ghToHapTypes'; export declare class Switch extends ghToHap implements ghToHap_t { private deviceType; constructor(type: any); sync(service: ServiceType): any; query(service: ServiceType): { on: boolean; online: boolean; }; execute(service: ServiceType, command: SmartHomeV1ExecuteRequestCommands): Promise<SmartHomeV1ExecuteResponseCommands>; }