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:
parent
f510ee333b
commit
7eafa5805a
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user