Skip to content

Commit

Permalink
Add notify platforms to loaded components (#16063)
Browse files Browse the repository at this point in the history
  • Loading branch information
balloob committed Aug 19, 2018
1 parent cb44607 commit 9c3251b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions homeassistant/components/notify/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9c3251b

Please sign in to comment.