mirror of
https://github.com/home-assistant/core.git
synced 2025-08-22 14:02:40 +02:00
Removed unnecessary line from notify component.
This commit is contained in:
@@ -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))
|
||||
|
||||
|
Reference in New Issue
Block a user