From b51561cd9bae86e1c06f1bc67810bac9cea8019e Mon Sep 17 00:00:00 2001 From: Brent Date: Mon, 2 May 2016 01:10:21 -0500 Subject: [PATCH] Fixed slack component bug with getting the channel when sending a message (#1954) --- homeassistant/components/notify/slack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/notify/slack.py b/homeassistant/components/notify/slack.py index f010244795a..624683af020 100644 --- a/homeassistant/components/notify/slack.py +++ b/homeassistant/components/notify/slack.py @@ -51,7 +51,7 @@ class SlackNotificationService(BaseNotificationService): """Send a message to a user.""" import slacker - channel = kwargs.get('channel', self._default_channel) + channel = kwargs.get('target', self._default_channel) try: self.slack.chat.post_message(channel, message) except slacker.Error: