forked from home-assistant/core
In rare occasion the group component would not load
This commit is contained in:
@@ -121,6 +121,10 @@ def from_config_dict(config, hass=None):
|
|||||||
if not group_added:
|
if not group_added:
|
||||||
validated.append(group.DOMAIN)
|
validated.append(group.DOMAIN)
|
||||||
|
|
||||||
|
if group.DOMAIN not in components:
|
||||||
|
components[group.DOMAIN] = \
|
||||||
|
core_components.get_component(group.DOMAIN, logger)
|
||||||
|
|
||||||
# Setup the components
|
# Setup the components
|
||||||
if core_components.setup(hass, config):
|
if core_components.setup(hass, config):
|
||||||
logger.info("Home Assistant core initialized")
|
logger.info("Home Assistant core initialized")
|
||||||
|
Reference in New Issue
Block a user