UNPKG

zigbee2mqtt

Version:

Zigbee to MQTT bridge using Zigbee-herdsman

25 lines 932 B
import type { CustomClusters } from "zigbee-herdsman/dist/zspec/zcl/definition/tstype"; import * as zhc from "zigbee-herdsman-converters"; export default class Device { zh: zh.Device; definition?: zhc.Definition; private _definitionModelID?; get ieeeAddr(): string; get ID(): string; get options(): DeviceOptionsWithId; get name(): string; get isSupported(): boolean; get customClusters(): CustomClusters; get otaExtraMetas(): zhc.Ota.ExtraMetas; get interviewed(): boolean; constructor(device: zh.Device); exposes(): zhc.Expose[]; resolveDefinition(ignoreCache?: boolean): Promise<void>; ensureInSettings(): void; endpoint(key?: string | number): zh.Endpoint | undefined; endpointName(endpoint: zh.Endpoint): string | undefined; getEndpointNames(): string[]; isDevice(): this is Device; isGroup(): this is Group; } //# sourceMappingURL=device.d.ts.map