homebridge-z2m
Version:
Expose your Zigbee devices to HomeKit with ease, by integrating Zigbee2MQTT with Homebridge.
10 lines • 680 B
TypeScript
import { Characteristic, Service, WithUUID } from 'homebridge';
import { ExposesEntry } from './z2mModels';
export declare function errorToString(e: unknown): string;
export declare function getOrAddCharacteristic(service: Service, characteristic: WithUUID<{
new (): Characteristic;
}>): Characteristic;
export declare function roundToDecimalPlaces(input: number, decimalPlaces: number): number;
export declare function copyExposesRangeToCharacteristic(exposes: ExposesEntry, characteristic: Characteristic): boolean;
export declare function groupByEndpoint<Entry extends ExposesEntry>(entries: Entry[]): Map<string | undefined, Entry[]>;
//# sourceMappingURL=helpers.d.ts.map