HomeAssitant does not detect G4 doorbell ring

I’ve installed a unifi protect system. In Home Assitant I have an automation to announce the doorbell ring to Alexa. Everything works fine if I trigger it from the even under Developer Tools, but nothing happens when I trigger the event manually from the doorbell. UnifiProtect and Alexa Media player are on the most recent versions in HACS. There doesn’t seem to be any connection issues with the unifi protect as I can see video and other entities in Home Assistant. If I change the trigger to something else, for example, pausing the tv, the automation works fine. It seems like Home Assitant isn’t seeing the doorbell being triggered.

id: '00000000000000'
alias: Doorbell ring
description: 'Alexa announcement with doorbell ring'
trigger:
  - platform: event
    event_type: unifiprotect_doorbell
condition: []
action:
  - service: notify.alexa_media
    data:
      message: Ding Dong - Someone is at the door.
      target: media_player.living_room_echo_dot, media_player.home_office
      data:
        type: tts
mode: single

Hi,

Was yours’s previously working fine. I’m having the same issue as you with pretty much the same script. Used to work flawless but now it works for 2 days and if I do not reboot HA it fails to do the alert. Works fine manually triggering the routing so it’s like HA is not registering the button press switch. Is that the blueprint version your using mine was made back in February but seems similar.

Heres mine

description: Alexa Notification on Doorbell press
trigger:
  - platform: state
    to: 'on'
    entity_id: binary_sensor.doorbell_g4_doorbell
    from: 'off'
condition: []
action:
  - service: notify.alexa_media_david_s_echo_dot
    data:
      message: Someone is at the front door!
      data:
        type: tts
  - service: notify.alexa_media_david_s_2nd_echo_dot
    data:
      message: Someone is at the front door!
      data:
        type: tts
  - service: notify.alexa_media_david_s_3rd_echo_dot
    data:
      message: Someone is at the front door!
      data:
        type: tts
mode: single