@homebridge-plugins/homebridge-lutron-caseta-leap
Version:
Homebridge support for Lutron
28 lines • 1.13 kB
TypeScript
import type { PlatformAccessory } from 'homebridge';
import type { Response, SmartBridge } from 'lutron-leap';
import type { DeviceWireResult, GlobalOptions, LutronCasetaLeap } from './Platform.HAP.js';
export declare class PicoRemote {
private readonly platform;
private readonly accessory;
private readonly bridge;
private readonly options;
private services;
private trackers;
private hrefToButtonNumber;
private hrefToAlias;
private buttons;
private matterApi?;
constructor(platform: LutronCasetaLeap, accessory: PlatformAccessory, bridge: SmartBridge, options: GlobalOptions, matterApi?: any);
private normalizeButtonName;
private aliasFromButtonName;
private resolveAlias;
initialize(): Promise<DeviceWireResult>;
handleEvent(response: Response): void;
handleUnsolicited(response: Response): void;
/**
* Returns a Matter clusters object for this Pico remote, based on its button map.
*/
getMatterClusters(): Record<string, any>;
}
export declare function presetIsProgrammed(preset: unknown): boolean;
//# sourceMappingURL=PicoRemote.d.ts.map