Automation actions
The action of an automation rule is what is being executed when a rule fires. The action part follows the script syntax which can be used to interact with anything via other actions or events.
For actions, you can specify the entity_id
that it should apply to and optional parameters (to specify for example the brightness).
You can also perform the action to activate a scene which will allow you to define how you want your devices to be and have Home Assistant perform the right action.
Conditions can also be part of an action. You can combine multiple actions and conditions in a single action, and they will be processed in the order you put them in. If the result of a condition is false, the action will stop there so any action after that condition will not be executed.