mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Removed unnecessary line from notify component.
This commit is contained in:
parent
159411df8b
commit
b8b5ac0653
@ -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))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user