Trigger not available

I’m trying to set an automation up in response to an event, but the I don’t see an “Initialized trigger” notification when I reload my automations, or when I restart HA itself. The event isn’t listed in the events debug tab either.

Can anyone spot anything obviously wrong with my configuration?

- alias: "Doorbell pressed"
  trigger:
    platform: event
    event_type: doorbell-pressed
  action:
    - service: tts.amazon_polly_say
      data_template:
        entity_id:
          - media_player.office
          - media_player.living_room_2
        message: "Pahrdon me for interrupting, but someome pressed the doorbell."
    - service: notify.all
      data:
        message: "Pardon me for interrupting, but someome pressed the doorbell."
    - service: notify.alexa
      data:
        message: "Pardon me for interrupting, but someome pressed the doorbell."

I do have a test automation that I build that does work however:

- alias: "Test Dash Button Pressed"
  trigger:
    platform: event
    event_type: test-dash-button
  action:
    service: notify.slack
    data:
      message: "Test Dash Button Pressed."

image

Are you sure the automation is on? Do you see it listed in the Current entities list on the States page?

1 Like

The automation wasn’t switched on!

Consider using initial_state: true

1 Like