zigbee-herdsman-converters
Version:
Collection of device converters to be used with zigbee-herdsman
15 lines • 539 B
TypeScript
import { Zh, Ota } from '../types';
/**
* Helper functions
*/
export declare function getImageMeta(current: Ota.ImageInfo, device: Zh.Device): Promise<Ota.ImageMeta>;
/**
* Interface implementation
*/
export declare function isUpdateAvailable(device: Zh.Device, requestPayload?: Ota.ImageInfo): Promise<{
available: boolean;
currentFileVersion: number;
otaFileVersion: number;
}>;
export declare function updateToLatest(device: Zh.Device, onProgress: Ota.OnProgress): Promise<number>;
//# sourceMappingURL=ledvance.d.ts.map