Add missing configuration variable

This commit is contained in:
Fabian Affolter 2016-04-28 13:08:15 +02:00
parent c85c32d883
commit f58190bc05

View File

@ -14,7 +14,7 @@ ha_category: Notifications
The `twitter` platform uses [Twitter](https://twitter.com) to delivery notifications from Home Assistant.
Go to [Twitter Apps](https://apps.twitter.com/app/new) and create an application. Visit "Keys and Access Tokens" of the application to get the details ("Consumer Key", "Consumer Secret", and "Access Token Secret" which needs to be generated).
Go to [Twitter Apps](https://apps.twitter.com/app/new) and create an application. Visit "Keys and Access Tokens" of the application to get the details ("Consumer Key", "Consumer Secret", "Access Token" and "Access Token Secret" which needs to be generated).
To add Twitter to your installation, add the following to your `configuration.yaml` file:
@ -25,6 +25,7 @@ notify:
platform: twitter
consumer_key: ABCDEFGHJKLMNOPQRSTUVXYZ
consumer_secret: ABCDEFGHJKLMNOPQRSTUVXYZ
access_token: ABCDEFGHJKLMNOPQRSTUVXYZ
access_token_secret: ABCDEFGHJKLMNOPQRSTUVXYZ
```
@ -33,6 +34,7 @@ Configuration variables:
- **name** (*Optional*): Setting the optional parameter `name` allows multiple notifiers to be created. The default value is `notify`. The notifier will bind to the service `notify.NOTIFIER_NAME`.
- **consumer_key** (*Required*): Your "Consumer Key" (API Key) for the application.
- **consumer_secret** (*Required*): Your "Consumer Secret" (API Secret) for the application.
- **access_token** (*Required*): Your "Access Token" for the application.
- **access_token_secret** (*Required*): Your "Access Token Secret" for the application.
To use notifications, please see the [getting started with automation page](/getting-started/automation/).