UNPKG

homebridge-gsh

Version:
11 lines (10 loc) 644 B
import type { SmartHomeV1ExecuteRequestCommands, SmartHomeV1ExecuteResponseCommands, SmartHomeV1SyncDevices } from 'actions-on-google'; import { ServiceType } from '@homebridge/hap-client'; import { ghToHap, ghToHap_t } from './ghToHapTypes'; export declare class GarageDoorOpener extends ghToHap implements ghToHap_t { twoFactorRequired: boolean; sync(service: ServiceType): SmartHomeV1SyncDevices; query(service: ServiceType): any; execute(service: ServiceType, command: SmartHomeV1ExecuteRequestCommands): Promise<SmartHomeV1ExecuteResponseCommands>; is2faRequired(command: SmartHomeV1ExecuteRequestCommands): boolean; }