/Webhook-Service-home-assistant

Add a Webhook service to HomeAssistant, originally designed for use with Discord Webhooks

Primary LanguagePythonMIT LicenseMIT

Webhook Service Provider for Home Assistant

Looking for contributions

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

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.

Configuration

Simply add webhook_service: to your configuration.yaml file

Or

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

Manual configuration steps

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

Usage

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