Changes

2 bytes added ,  13:12, 20 December 2021
Line 9: Line 9:  
== When to Use ==
 
== When to Use ==
   −
The main reason to use action blocks is to minimize duplicated blocks of action throughout your macros. In some cases you may have common repeated functionality spread throughout multiple macros, for example you may set the brightness low and volume to zero at night time (using day/time trigger) in one macro. You may also wish to do the same elsewhere in another macro (for example using a location trigger when you are at the cinema). By grouping these actions into an action block you can call just a single action to invoke the action block. If you later decide to tweak these settings then you can just update the action block and avoid updating the settings in multiple places.
+
The main reason to use action blocks is to minimize duplicated blocks of actions throughout your macros.
 +
 
 +
In some cases you may have common repeated functionality spread throughout multiple macros, for example you may set the brightness low and volume to zero at night time (using day/time trigger) in one macro. You may also wish to do the same elsewhere in another macro (for example using a location trigger when you are at the cinema). By grouping these actions into an action block you can call just a single action to invoke the action block. If you later decide to tweak these settings then you can just update the action block and avoid updating the settings in multiple places.
    
== Input and Output Parameters ==
 
== Input and Output Parameters ==