UNPKG

zigbee-herdsman-converters

Version:

Collection of device converters to be used with zigbee-herdsman

61 lines 2.94 kB
import { Zcl } from 'zigbee-herdsman'; import { Fz, Tz, Zh, OnEvent, KeyValueAny } from '../lib/types'; import * as exposes from './exposes'; export declare const legrandOptions: { manufacturerCode: Zcl.ManufacturerCode; disableDefaultResponse: boolean; }; export declare const _067776: { getCover: (device: Zh.Device) => exposes.Cover; getCalibrationModes: (isNLLVSwitch: boolean) => exposes.Enum; }; export declare const eLegrand: { identify: () => exposes.Enum; ledInDark: () => exposes.Binary; ledIfOn: () => exposes.Binary; }; export declare const readInitialBatteryState: OnEvent; export declare const tzLegrand: { auto_mode: { key: string[]; convertSet: (entity: import("zigbee-herdsman/dist/controller/model").Group | import("zigbee-herdsman/dist/controller/model").Endpoint, key: string, value: unknown, meta: Tz.Meta) => Promise<{ state: { auto_mode: unknown; }; }>; }; calibration_mode: (isNLLVSwitch: boolean) => { key: string[]; convertSet: (entity: import("zigbee-herdsman/dist/controller/model").Group | import("zigbee-herdsman/dist/controller/model").Endpoint, key: string, value: unknown, meta: Tz.Meta) => Promise<void>; convertGet: (entity: import("zigbee-herdsman/dist/controller/model").Group | import("zigbee-herdsman/dist/controller/model").Endpoint, key: string, meta: Tz.Meta) => Promise<void>; }; led_mode: { key: string[]; convertSet: (entity: import("zigbee-herdsman/dist/controller/model").Group | import("zigbee-herdsman/dist/controller/model").Endpoint, key: string, value: unknown, meta: Tz.Meta) => Promise<{ state: { [x: string]: unknown; }; }>; convertGet: (entity: import("zigbee-herdsman/dist/controller/model").Group | import("zigbee-herdsman/dist/controller/model").Endpoint, key: string, meta: Tz.Meta) => Promise<void>; }; identify: { key: string[]; options: exposes.Composite[]; convertSet: (entity: import("zigbee-herdsman/dist/controller/model").Group | import("zigbee-herdsman/dist/controller/model").Endpoint, key: string, value: unknown, meta: Tz.Meta) => Promise<void>; }; }; export declare const fzLegrand: { calibration_mode: (isNLLVSwitch: boolean) => { cluster: string; type: string[]; convert: (model: import("../lib/types").Definition, msg: Fz.Message, publish: import("../lib/types").Publish, options: import("../lib/types").KeyValue, meta: Fz.Meta) => { calibration_mode: string; }; }; cluster_fc01: { cluster: string; type: string[]; convert: (model: import("../lib/types").Definition, msg: Fz.Message, publish: import("../lib/types").Publish, options: import("../lib/types").KeyValue, meta: Fz.Meta) => KeyValueAny; }; }; //# sourceMappingURL=legrand.d.ts.map