Add notify platforms to loaded components (#16063)
parent
21b88f2fe8
commit
7c95e96ce8
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue