From b8b5ac0653577e8df3db67ab7796c443938e2e5f Mon Sep 17 00:00:00 2001 From: Ryan Kraus Date: Tue, 18 Aug 2015 22:42:01 -0400 Subject: [PATCH] Removed unnecessary line from notify component. --- homeassistant/components/notify/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/homeassistant/components/notify/__init__.py b/homeassistant/components/notify/__init__.py index eaac1a4d082..fedd0b3412c 100644 --- a/homeassistant/components/notify/__init__.py +++ b/homeassistant/components/notify/__init__.py @@ -37,8 +37,7 @@ def setup(hass, config): success = False for platform, p_config in config_per_platform(config, DOMAIN, _LOGGER): - # create platform - platform = p_config[CONF_PLATFORM] + # get platform notify_implementation = get_component( 'notify.{}'.format(platform))