dirigera
Version:
A TypeScript client for IKEA's DIRIGERA smart home hub
22 lines (21 loc) • 753 B
TypeScript
import type { Got } from 'got';
import type { MotionSensor } from '../types/device/MotionSensor.ts';
declare const _default: (got: Got) => {
list(): Promise<MotionSensor[]>;
get({ id }: {
id: string;
}): Promise<MotionSensor>;
setOnDuration({ id, onDuration, }: {
id: string;
onDuration: MotionSensor["attributes"]["sensorConfig"]["onDuration"];
}): Promise<void>;
setScheduleOn({ id, scheduleOn, }: {
id: string;
scheduleOn: MotionSensor["attributes"]["sensorConfig"]["scheduleOn"];
}): Promise<void>;
setSchedule({ id, schedule, }: {
id: string;
schedule: MotionSensor["attributes"]["sensorConfig"]["schedule"];
}): Promise<void>;
};
export default _default;