mirror of
https://github.com/home-assistant/core.git
synced 2025-08-23 14:32:38 +02:00
Removed unnecessary line from notify component.
This commit is contained in:
@@ -37,8 +37,7 @@ def setup(hass, config):
|
|||||||
success = False
|
success = False
|
||||||
|
|
||||||
for platform, p_config in config_per_platform(config, DOMAIN, _LOGGER):
|
for platform, p_config in config_per_platform(config, DOMAIN, _LOGGER):
|
||||||
# create platform
|
# get platform
|
||||||
platform = p_config[CONF_PLATFORM]
|
|
||||||
notify_implementation = get_component(
|
notify_implementation = get_component(
|
||||||
'notify.{}'.format(platform))
|
'notify.{}'.format(platform))
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user