UNPKG

homebridge

Version:
32 lines 882 B
/** * OnOff Cluster Behavior * * Handles on/off commands for lights, switches, and outlets */ import { OnOffServer } from '@matter/main/behaviors/on-off'; export declare class HomebridgeOnOffServer extends OnOffServer { /** * Get the registry for this behavior's endpoint */ private getRegistry; initialize(): void; /** * Mirror the cluster's own state into the accessory cache, whatever changed * it. Reading the value from the event means the cache follows what matter * actually committed, rather than a value predicted before the fact. */ private syncOnOffToCache; /** * Handle 'on' command */ on(): Promise<void>; /** * Handle 'off' command */ off(): Promise<void>; /** * Handle 'toggle' command */ toggle(): Promise<void>; } //# sourceMappingURL=OnOffBehavior.d.ts.map