Module homey.flow_card_trigger

Classes

class FlowCardTrigger

A flow card with type trigger, as defined in the app's app.json.

Ancestors

Methods

async def trigger(self, tokens: dict[str, Any] = {}, **trigger_kwargs) ‑> None

Activate the flow card, and thereby any flows it is used in.

Args

tokens
A mapping from tokens to their values in the flow, as defined in app.json.
trigger_kwargs
Arguments that will be passed to the card's run listener.

Inherited members