i-action-config

Configuration object for action blocks

Name i-action-config
Type Interface
Path packages/blocks/src/building-blocks/action.ts

Properties

Name Type Description
callback ((client: IHass, input: I) => O) | ((client: IHass, input: I) => Promise<O>) This callback will be executed when an automation runs this block