Add config flow to pushover documentation (#23813)

This commit is contained in:
Rami Mosleh 2022-08-19 09:09:35 +03:00 committed by GitHub
parent f21ed97346
commit 1c7bfacd02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,11 +4,14 @@ description: Instructions on how to add Pushover notifications to Home Assistant
ha_category: ha_category:
- Notifications - Notifications
ha_release: pre 0.7 ha_release: pre 0.7
ha_config_flow: true
ha_iot_class: Cloud Push ha_iot_class: Cloud Push
ha_domain: pushover ha_domain: pushover
ha_platforms: ha_platforms:
- notify - notify
ha_integration_type: integration ha_integration_type: integration
ha_codeowners:
- '@engrbm87'
--- ---
The [Pushover service](https://pushover.net/) is a platform for the notify component. This allows integrations to send messages to the user using Pushover. The [Pushover service](https://pushover.net/) is a platform for the notify component. This allows integrations to send messages to the user using Pushover.
@ -17,32 +20,7 @@ The [Pushover service](https://pushover.net/) is a platform for the notify compo
In order to get an API key you need to [register an application](https://pushover.net/apps/clone/home_assistant) on the Pushover website. Your Pushover user key can be found on the [Pushover dashboard](https://pushover.net/dashboard). In order to get an API key you need to [register an application](https://pushover.net/apps/clone/home_assistant) on the Pushover website. Your Pushover user key can be found on the [Pushover dashboard](https://pushover.net/dashboard).
To use Pushover notifications, add the following to your `configuration.yaml` file: {% include integrations/config_flow.md %}
```yaml
# Example configuration.yaml entry
notify:
- name: NOTIFIER_NAME
platform: pushover
api_key: YOUR_API_KEY
user_key: YOUR_USER_KEY
```
{% configuration %}
name:
description: Setting the optional parameter `name` allows multiple notifiers to be created. The notifier will bind to the service `notify.NOTIFIER_NAME`.
required: false
default: notify
type: string
api_key:
description: Your API key.
required: true
type: string
user_key:
description: Your user key for Pushover.
required: true
type: string
{% endconfiguration %}
Example Automation: Example Automation: