UNPKG

dirigera

Version:

A TypeScript client for IKEA's DIRIGERA smart home hub

22 lines (21 loc) 774 B
import type { Got } from 'got'; import type { OccupancySensor } from '../types/device/OccupancySensor.ts'; declare const _default: (got: Got) => { list(): Promise<OccupancySensor[]>; get({ id }: { id: string; }): Promise<OccupancySensor>; setOnDuration({ id, onDuration, }: { id: string; onDuration: OccupancySensor["attributes"]["sensorConfig"]["onDuration"]; }): Promise<void>; setScheduleOn({ id, scheduleOn, }: { id: string; scheduleOn: OccupancySensor["attributes"]["sensorConfig"]["scheduleOn"]; }): Promise<void>; setSchedule({ id, schedule, }: { id: string; schedule: OccupancySensor["attributes"]["sensorConfig"]["schedule"]; }): Promise<void>; }; export default _default;