Add notify platforms to loaded components (#16063)

This commit is contained in:
Paulus Schoutsen 2018-08-19 18:56:31 +02:00 committed by Paulus Schoutsen
parent cb44607e96
commit 9c3251b5f0

View File

@ -156,6 +156,8 @@ def async_setup(hass, config):
DOMAIN, platform_name_slug, async_notify_message,
schema=NOTIFY_SERVICE_SCHEMA)
hass.config.components.add('{}.{}'.format(DOMAIN, p_type))
return True
setup_tasks = [async_setup_platform(p_type, p_config) for p_type, p_config