Slack Notification Support


The slack platform allows you to deliver notifications from Home Assistant to Slack.

You need to obtain the Slack API token to be able to send notifications.

To enable the slack notification in your installation, add the following to your configuration.yaml file:

1
2
3
4
5
6
# Example configuration.yaml entry
notify:
  name: NOTIFIER_NAME
  platform: slack
  api_key: ABCDEFGHJKLMNOPQRSTUVXYZ
  default_channel: '#general'

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.