Source: https://serial.rodeo/posts/ha-unraid-notifications/
- Login to Home Assistant
- Go to Settings > Automations
- Create Automation
- When > Add Trigger > Webhook
- Then do > Notifications: Send a notification with [device name]
- Edit in YAML
action: notify.my_devices metadata: {} data: message: "{{ trigger.json.embeds[0].description }}" title: "{{ trigger.json.embeds[0].title }}" - Copy Webhook ID
- Save

- Login to Unraid
- Go to Settings > Notifications
- Check agents to any of the notifications you want to receive
- Scroll down to Discord
- Agent function > Enabled
- Paste the webhook ID from the Home Assistant notification
- Apply
- Test