homebridge-gsh
Version:
Google Smart Home
13 lines (12 loc) • 578 B
TypeScript
import { ServiceType } from '@homebridge/hap-client';
import { SmartHomeV1ExecuteRequestCommands, SmartHomeV1ExecuteResponseCommands } from 'actions-on-google';
import { ghToHap, ghToHap_t } from './ghToHapTypes';
export declare class Door extends ghToHap implements ghToHap_t {
sync(service: ServiceType): any;
query(service: ServiceType): {
on: boolean;
online: boolean;
openPercent: string | number | boolean;
};
execute(service: ServiceType, command: SmartHomeV1ExecuteRequestCommands): Promise<SmartHomeV1ExecuteResponseCommands>;
}