dirigera
Version:
A TypeScript client for IKEA's DIRIGERA smart home hub
22 lines (21 loc) • 681 B
TypeScript
import type { Got } from 'got' with { 'resolution-mode': 'require' };
import type { Blinds } from '../types/device/Blinds';
declare const _default: (got: Got) => {
list(): Promise<Blinds[]>;
get({ id }: {
id: string;
}): Promise<Blinds>;
setCurrentLevel({ id, blindsCurrentLevel, }: {
id: string;
blindsCurrentLevel: number;
}): Promise<void>;
setTargetLevel({ id, blindsTargetLevel, }: {
id: string;
blindsTargetLevel: number;
}): Promise<void>;
setState({ id, blindsState, }: {
id: string;
blindsState: Blinds["attributes"]["blindsState"];
}): Promise<void>;
};
export default _default;