dirigera
Version:
A TypeScript client for IKEA's DIRIGERA smart home hub
25 lines (24 loc) • 729 B
TypeScript
import type { Got } from 'got' with { 'resolution-mode': 'require' };
import type { Device } from '../types/device/Device';
declare const _default: (got: Got) => {
list(): Promise<Device[]>;
get({ id }: {
id: string;
}): Promise<Device>;
setCustomName({ id, customName, }: {
id: string;
customName: string;
}): Promise<void>;
setAttributes({ id, attributes, transitionTime, }: {
id: string;
attributes: Partial<Device["attributes"]>;
transitionTime?: number;
}): Promise<void>;
startIdentifying({ id }: {
id: string;
}): Promise<void>;
stopIdentifying({ id }: {
id: string;
}): Promise<void>;
};
export default _default;