Available action types in ControllerX
mainAction types are reduced versions of Home Assistant Script Syntax. They define what happens when a specific <event> is fired from a controller or integration.
Supported action types include:
- Predefined actions: Shortcuts for common tasks (e.g.,
toggle). - Call services: Executing any Home Assistant service.
- Scene activation: Activating a specific HA Scene.
- Delay: Pausing execution for a specified number of seconds.
Execution Behavior:
- Sequential Execution: Actions are executed one after another. Note that some actions (like
hold) are blocking and will not finish until a correspondingreleaseevent occurs. Using a list ofholdactions is not recommended as they will execute sequentially. - Restart Mode: If a new event of the same type is fired while an action is still executing (e.g., during a
delay), the previous execution is cancelled and a new one starts. This behaves likemode: restartin Home Assistant.