From 7c95e96ce8fc12a114d8663b60c77a6f7aa6d0e3 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Sun, 19 Aug 2018 18:56:31 +0200 Subject: [PATCH] Add notify platforms to loaded components (#16063) --- homeassistant/components/notify/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/homeassistant/components/notify/__init__.py b/homeassistant/components/notify/__init__.py index 13cd6203ed4..4de35d3f850 100644 --- a/homeassistant/components/notify/__init__.py +++ b/homeassistant/components/notify/__init__.py @@ -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