UNPKG

@felixgeelhaar/govee-api-client

Version:

Enterprise-grade TypeScript client library for the Govee Developer REST API

18 lines 665 B
import { GoveeDevice } from '../entities/GoveeDevice'; import { DeviceState } from '../entities/DeviceState'; import { Command } from '../entities/Command'; export interface IGoveeDeviceRepository { /** * Retrieves all devices associated with the configured API key */ findAll(): Promise<GoveeDevice[]>; /** * Retrieves the current state of a specific device */ findState(deviceId: string, sku: string): Promise<DeviceState>; /** * Sends a command to control a specific device */ sendCommand(deviceId: string, sku: string, command: Command): Promise<void>; } //# sourceMappingURL=IGoveeDeviceRepository.d.ts.map