UNPKG

dirigera

Version:

A TypeScript client for IKEA's DIRIGERA smart home hub

14 lines (13 loc) 433 B
import type { Got } from 'got'; import type { Controller, GenericSwitch } from '../types/device/Controller.ts'; declare const _default: (got: Got) => { list(): Promise<Controller[]>; get({ id }: { id: string; }): Promise<Controller>; setControlMode({ id, controlMode, }: { id: string; controlMode: GenericSwitch["attributes"]["controlMode"]; }): Promise<void>; }; export default _default;