run
Called by the framework when the block is executed
Signature
run(hass: IHass, input: I, events?: IEventBus, triggerId?: string): Promise<BlockOutput<O>> | BlockOutput<O>;
Parameters
| Name | Type | Description |
|---|---|---|
| hass | IHass | |
| input | I | |
| events | IEventBus | |
| triggerId | string | |
Return Value
Promise<BlockOutput<O>> | BlockOutput<O>