magichome-platform
Version:
discover, control, and receive status for magichome devices
7 lines • 634 B
TypeScript
import { IAnimationCommand, DeviceAPI } from "../models/types";
import { CommandOptions, DeviceCommandRGB, DeviceMetaData, ProtoDevice } from "magichome-core";
export declare function discoverProtoDevices(subnets: string[]): Promise<ProtoDevice[]>;
export declare function getAPI(deviceMetaData: DeviceMetaData): DeviceAPI;
export declare function adjustCommandToAPI(deviceCommand: DeviceCommandRGB, commandOptions: CommandOptions, deviceAPI: DeviceAPI): DeviceCommandRGB;
export declare function isCommandEqual(colorStart: IAnimationCommand, colorTarget: IAnimationCommand): boolean;
//# sourceMappingURL=platformUtils.d.ts.map