mirror of
https://github.com/home-assistant/core.git
synced 2025-06-01 03:37:08 +00:00
Add notify platforms to loaded components (#16063)
This commit is contained in:
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…
x
Reference in New Issue
Block a user