zigbee-herdsman-converters
Version:
Collection of device converters to be used with zigbee-herdsman
17 lines • 567 B
TypeScript
/**
* Helper functions
*
* @packageDocumentation
*/
import { Zh, Ota } from '../types';
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=inovelli.d.ts.map