UNPKG

homebridge-z2m

Version:

Expose your Zigbee devices to HomeKit with ease, by integrating Zigbee2MQTT with Homebridge.

22 lines 983 B
import { BasicLogger } from './logger'; /** * Check if availability is configured. Based on utils.isAvailabilityEnabledForEntity from Zigbee2MQTT code base. * @param config config part of the object published to bridge/info * @returns True if availability is configured */ export declare function isAvailabilityEnabledGlobally(config: Record<string, any>): boolean; /** * Contains all devices that have a certain feature explicitly enabled or disabled. */ export interface BooleanDeviceList { enabled: string[]; disabled: string[]; } /** * Check if availability is explicitly enabled or disabled for any devices. * Based on utils.isAvailabilityEnabledForEntity from Zigbee2MQTT code base. * @param config config part of the object published to bridge/info * @param logger BasicLogger */ export declare function getAvailabilityConfigurationForDevices(config: Record<string, any>, logger?: BasicLogger): BooleanDeviceList; //# sourceMappingURL=configHelpers.d.ts.map