Group

The group extension allows grouping of components such as triggers. Groups are a way to get collect like items together.

This extension does not take an extension level config and is focused on interfaces.


Trigger Interface

Provides a trigger that checks if all triggers in a group are active in order to fire.

OptionTypeRequiredDescription
key[String]YesUnique slug id for the component
triggers[List]YesList of trigger keys that make up the group.
name[String]NoFriendly display name of component. Useful for UI.
actions[List]NoList of registered actions to fire.

Config Examples

Here is a config of a complete group trigger.

"trigger": [{
    "key": "group_trigger_1",
    "name": "Example Group Trigger"
    "interface": "group",
    "triggers": ["example_trigger_1", "example_trigger_2"],
    "actions": [".example_toggle.turn_on"]
}]