From e353dae3a6744b037c3c64aed09e1ac646ea172e Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 13 Oct 2015 22:45:36 +0200 Subject: [PATCH] Move vonfiguration details to docs --- homeassistant/components/notify/slack.py | 23 ++--------------------- 1 file changed, 2 insertions(+), 21 deletions(-) diff --git a/homeassistant/components/notify/slack.py b/homeassistant/components/notify/slack.py index bd3a2b71c0c..0b168ed5075 100644 --- a/homeassistant/components/notify/slack.py +++ b/homeassistant/components/notify/slack.py @@ -3,27 +3,8 @@ homeassistant.components.notify.slack ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Slack platform for notify component. -Configuration: - -To use the Slack notifier you will need to add something like the following -to your configuration.yaml file. - -notify: - platform: slack - api_key: ABCDEFGHJKLMNOPQRSTUVXYZ - default_channel: '#general' - -Variables: - -api_key -*Required -The slack API token to use for sending slack messages. -You can get your slack API token here https://api.slack.com/web?sudo=1 - -default_channel -*Required -The default channel to post to if no channel is explicitly specified when -sending the notification message. +For more details about this platform, please refer to the documentation at +https://home-assistant.io/components/notify.slack.html """ import logging