Macros
![]()
A macro is a sequence of control commands activated by a click.
A macro contains control commands that you can activate with a single button click in the Template. It contains actions and conditions. A condition is optional when triggering an event.

The Macros tab contains these settings:
- Name - the macro name.
- Icon - the macro icon, which helps distinguish it visually from other macros.
- Place - the location where the macro is used.
- DO - actions performed when the macro is activated.
- BUT ONLY IF - a condition required for the macro to execute.
- Delete macro - delete the selected macro.
Creating a macro
Create two macros to turn on several dimmers simultaneously. Place the macros in the room where the dimmers are located. These examples examine how actions and conditions work in more detail.
- Open Macros.

-
Create one using
or Create macro.
-
Enter the macro name and save it.

Create two macros. Place them in the room where the dimmers are located. These macros demonstrate how actions and conditions work in detail.
Macro 1
Under Add action, select Device.

Select Light 1. 
Click On.
Add Light 2. Select Brightness.
Set Value to 50.
Clicking the macro will turn on the dimmers.

Macro 2
Create a macro named Second macro.
Under Add action, select Light 3.
Click On.
Set a condition for this macro by clicking Add condition.
Select Device and Light 1 with the value On.
Dimmer 3 will turn on only if dimmer 1 is on.

Start the project.
To test the macros, turn off the dimmers.

Clicking First macro turns on dimmer 1 and dimmer 2. Dimmer 2 uses the value set earlier.
Clicking Second macro turns on dimmer 3 because dimmer 1 is also on. If you turn off dimmer 1 and dimmer 3 and click Second macro again, dimmer 3 will not turn on.