Next: , Up: Dynamic Control: The TRIGGER Construct   [Contents]


2.3.4.1 Choosing Your Tool

The two constructs are designed for different architectural needs:

The Target Block (target { ... }):

Use this when you need to drive one specific output based on various complex conditions. It’s perfect for centralized control over a single device (like a lightbulb that has many reasons to be on or off).

The TRIGGER:

Use this when you want to synchronize multiple actions to a single event. It’s the "domino effect" of automation.