Templating can be used when we want to dynamically use some of the properties during action execution based on their current state. It leverages the HA templating system with the same syntax. It can be used for these type of parameters:
- Device types (
- Predefined actions
- Scene activation
- Call services
It can be used to get the current media player is playing. It assumes there is a sensor that already gets updated when the current media player changes.
Get data for call services. For example, get a random effect for our WLED light.