mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2024-11-16 18:39:09 -07:00
045ee573a0
* Update * Updates * More refactoringzzz * Bindoo * Loadz of typescripting * Logga * Updates * Updates * Updates * Updates * cleanup * updates * Fix coverage * Fixes * Updates * Updates
9 lines
499 B
TypeScript
9 lines
499 B
TypeScript
declare module 'zigbee-herdsman-converters' {
|
|
export function findByDevice(device: zh.Device): zhc.Definition;
|
|
export function getConfigureKey(definition: zhc.Definition): string | number;
|
|
export const toZigbeeConverters: {[s: string]: zhc.ToZigbeeConverter};
|
|
export const definitions: zhc.Definition[];
|
|
export function addDeviceDefinition(definition: zhc.Definition): Promise<void>;
|
|
export function onEvent(type: string, data: KeyValue, device: zh.Device): Promise<void>;
|
|
}
|