Add docs for Discord config flow (#20583)

This commit is contained in:
Robert Hillis 2022-03-30 07:19:12 -04:00 committed by GitHub
parent c37647ae13
commit 5d7b055c97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,7 +5,10 @@ ha_category:
- Notifications
ha_iot_class: Cloud Push
ha_release: 0.37
ha_config_flow: true
ha_domain: discord
ha_codeowners:
- '@tkdrob'
ha_platforms:
- notify
---
@ -18,28 +21,7 @@ Retrieve the **Client ID** from the information section and the (hidden) **Token
When setting up the application you can use this [icon](/images/favicon-192x192-full.png).
## Configuration
To use Discord notifications, add the following to your `configuration.yaml` file:
```yaml
# Example configuration.yaml entry
notify:
- platform: discord
token: YOUR_DISCORD_BOT_TOKEN
```
{% configuration %}
name:
description: The notifier will bind to the service `notify.NAME`.
required: false
type: string
default: notify
token:
description: Your bot's token.
required: true
type: string
{% endconfiguration %}
{% include integrations/config_flow.md %}
## Setting up the bot