Skip to content

HCookie/Webhook-Service-home-assistant

Repository files navigation

Webhook Service Provider for Home Assistant

hacs_badge
Icon

Service provider that allows Home Assistant to utilise Webhooks in automations or service calls, initially designed for use with Discord Webhooks

Setup

To add the Webhook Service integration to your Home Assistant, use this My button:

If the above My button doesn’t work, you can also perform the following steps manually:

Manual configuration steps

HACS

The repository folder structure is compatible with HACS

Install HACS via: https://hacs.xyz/docs/installation/manual. Once installed, select custom repositories, and copy in the address to this https://github.com/HCookie/Webhook-Service-home-assistant

Manual Setup

Copy all the files in custom_components\webhook_service to custom_components\webhook_service in your HomeAssistant.

Usage

Use the webhook_service:basic_webhook service in automations to post json data to a webhook,

action: webhook_service.basic_webhook
data:
  webhook: WEBHOOK_URL_HERE
  json: "{'json':'dict'}"