mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-27 19:26:50 +00:00
Add docs for Discord config flow (#20583)
This commit is contained in:
parent
c37647ae13
commit
5d7b055c97
@ -5,7 +5,10 @@ ha_category:
|
|||||||
- Notifications
|
- Notifications
|
||||||
ha_iot_class: Cloud Push
|
ha_iot_class: Cloud Push
|
||||||
ha_release: 0.37
|
ha_release: 0.37
|
||||||
|
ha_config_flow: true
|
||||||
ha_domain: discord
|
ha_domain: discord
|
||||||
|
ha_codeowners:
|
||||||
|
- '@tkdrob'
|
||||||
ha_platforms:
|
ha_platforms:
|
||||||
- notify
|
- 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).
|
When setting up the application you can use this [icon](/images/favicon-192x192-full.png).
|
||||||
|
|
||||||
## Configuration
|
{% include integrations/config_flow.md %}
|
||||||
|
|
||||||
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 %}
|
|
||||||
|
|
||||||
## Setting up the bot
|
## Setting up the bot
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user