Automation Entity available in Trigger Template context

For my BluePrint’s there are times when I want to know the automation instance of my blueprint class.

I have added the automation_entity_id variable to augment the trigger variable for use in templates.

You can than use the:

      state_attr(automation_entity_id, 'id')
or
      state_atr(automation_entity_id, 'friendly_name')

For use in your templates.

Let me know if this is of interest and I will work through the submission process.