homebridge-gsh
Version:
Google Smart Home
9 lines (8 loc) • 538 B
TypeScript
import type { SmartHomeV1ExecuteRequestCommands, SmartHomeV1ExecuteResponseCommands, SmartHomeV1SyncDevices } from 'actions-on-google';
import { ServiceType } from '@homebridge/hap-client';
import { ghToHap, ghToHap_t } from './ghToHapTypes';
export declare class HumiditySensor extends ghToHap implements ghToHap_t {
sync(service: ServiceType): SmartHomeV1SyncDevices;
query(service: ServiceType): any;
execute(service: ServiceType, command: SmartHomeV1ExecuteRequestCommands): Promise<SmartHomeV1ExecuteResponseCommands>;
}