mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2024-11-16 18:39:09 -07:00
14 lines
605 B
TypeScript
14 lines
605 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>;
|
|
}
|
|
|
|
declare module 'zigbee-herdsman-converters/lib/ota/tradfri' {
|
|
export function useTestURL(): void;
|
|
}
|
|
|