attachToClient
Register the trigger with a Home Assistant client so that it actually fires when the conditions are met
Signature
attachToClient(client: IFullBlocksClient, block: IBlock<unknown, unknown>, events: IEventBus): Promise<void>;
Parameters
Name | Type | Description |
---|---|---|
client | IFullBlocksClient | |
block | IBlock<unknown, unknown> | |
events | IEventBus | |
Return Value
Promise<void>