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