trigger

Associate the automation with a Home Assistant trigger. For more details, see the Home Assistant docs

Name trigger
Type Function
Path packages/blocks/src/core/trigger.ts

Signature

    trigger: (config: ITriggerConfig) => ITrigger 

Parameters

Name Type Description
config ITriggerConfig

Return Value

ITrigger