1
mirror of https://github.com/home-assistant/core synced 2024-09-06 10:29:55 +02:00

In rare occasion the group component would not load

This commit is contained in:
Paulus Schoutsen 2014-10-22 08:12:32 -07:00
parent f510ee333b
commit 7eafa5805a

View File

@ -121,6 +121,10 @@ def from_config_dict(config, hass=None):
if not group_added:
validated.append(group.DOMAIN)
if group.DOMAIN not in components:
components[group.DOMAIN] = \
core_components.get_component(group.DOMAIN, logger)
# Setup the components
if core_components.setup(hass, config):
logger.info("Home Assistant core initialized")