Notification on in-development automation run

As I create a new Automation, I’m trying to get a notification each time it runs. I typically name my automations with a prefix dev_RealAutomationName until they are ready to roll into production, then I remove the dev_

Here is the code I’m working with:

alias: Notify automation runs
description: ""
trigger:
  - platform: event
    event_type: automation_triggered
condition:
  - condition: template
    value_template: |
      {{ trigger.event.data.entity_id.startswith('automation.dev') }}
action:
  - service: notify.mobile_app_ds_iphone
    data:
      message: |
        Automation {{
          trigger.event.data.name
        }} ({{
          trigger.event.data.entity_id
        }}) triggered by {{
          trigger.event.data.source
        }}.

Obviously, it’s not working or I wouldn’t be here :slight_smile:
This is a modification of an automation I found in the forum which used this template instead:
{{ trigger.event.data.entity_id != 'automation.notify_automation_runs' }}
however, every automation that ran popped a notification (as it was intended),

condition:
  - condition: template
    value_template: |
      {{ trigger.event.data.entity_id is match("automation.dev") }}
action: