From 9c3251b5f0d287c95afeef88ed7ed57d3c790026 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 13cd6203ed4bf..4de35d3f850d6 100644 --- a/homeassistant/components/notify/__init__.py +++ b/homeassistant/components/notify/__init__.py @@ -156,6 +156,8 @@ def async_notify_message(service): 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