Franck Nijhof 1833c32a2c Cleans up front matter (#9835)
* Sets front matter defaults

* Removes default front matter from section templates/pages

* Removes default front matter from addon pages

* Removes default front matter from integration pages

* Removes default front matter from posts

* Removes default front matter from docs pages

* Removes default front matter from other pages

* Fixes blog category pages
2019-07-11 14:35:08 -07:00

1.9 KiB

title, description, logo, ha_category, ha_release, redirect_from
title description logo ha_category ha_release redirect_from
Twitter Instructions on how to add Twitter notifications to Home Assistant. twitter.png
Notifications
0.12
/components/notify.twitter/

The twitter notification platform uses Twitter to deliver notifications from Home Assistant.

Setup

Go to Twitter Apps 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).

Configuration

To add Twitter to your installation, add the following to your configuration.yaml file:

# Example configuration.yaml entry
notify:
  - name: NOTIFIER_NAME
    platform: twitter
    consumer_key: YOUR_API_KEY
    consumer_secret: YOUR_API_SECRET
    access_token: YOUR_ACCESS_TOKEN
    access_token_secret: YOUR_ACCESS_SECRET

{% 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 consumer_key: description: Your Consumer Key (API Key) for the application. required: true type: string consumer_secret: description: Your Consumer Secret (API Secret) for the application. required: true type: string access_token: description: Your Access Token for the application. required: true type: string access_token_secret: description: Your Access Token Secret for the application. required: true type: string username: description: "Twitter handle without @ or with @ and quoting for direct messaging." required: false type: string {% endconfiguration %}

To use notifications, please see the getting started with automation page.