Updates for Slack Notification changes (#923)

* Updates for Slack Notification changes

* Updates for Slack Notification changes
This commit is contained in:
Richard Cox 2016-09-12 00:50:42 -07:00 committed by Fabian Affolter
parent 09a8b6d30e
commit 2f71eb64d6

View File

@ -30,6 +30,8 @@ notify:
platform: slack
api_key: ABCDEFGHJKLMNOPQRSTUVXYZ
default_channel: '#general'
icon: ':robot_face:'
username: 'Home-Assistant'
```
Configuration variables:
@ -37,6 +39,8 @@ 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`.
- **api_key** (*Required*): The slack API token to use for sending slack messages.
- **default_channel** (*Required*): The default channel to post to if no channel is explicitly specified when sending the notification message.
- **username** (*Optional*): Setting username will allow homeassistant to post to slack using the username specified. By default not setting this will post to slack using the user account or botname that you generated the api_key as.
- **icon** (*Optional*): Use one of the slack emoji's as an Icon for the supplied username. Slack uses the standard emoji sets used [here](http://www.webpagefx.com/tools/emoji-cheat-sheet/).
To use notifications, please see the [getting started with automation page](/getting-started/automation/).