@dotwee/homebridge-z2m
Version:
Expose your Zigbee devices to HomeKit with ease, by integrating Zigbee2MQTT with Homebridge.
17 lines • 751 B
TypeScript
import { BasicAccessory, ConverterConfigurationRegistry, ServiceCreator } from './interfaces';
import { ExposesEntry } from '../z2mModels';
interface SwitchConfig {
type?: string;
}
export declare const isSwitchConfig: (x: any) => x is SwitchConfig;
export declare class SwitchCreator implements ServiceCreator {
static readonly CONFIG_TAG = "switch";
static readonly CONFIG_TYPE_SWITCH = "switch";
static readonly CONFIG_TYPE_OUTLET = "outlet";
constructor(converterConfigRegistry: ConverterConfigurationRegistry);
private static isValidConverterConfiguration;
createServicesFromExposes(accessory: BasicAccessory, exposes: ExposesEntry[]): void;
private createService;
}
export {};
//# sourceMappingURL=switch.d.ts.map