Parameterizing automations

I want to have an automation that is triggered when any of the 4 person entities leave home but in the action I need to refer to which entity triggered the automation so I can render “Joe left home” (where Joe is the name of the entity).

Templating