mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00: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:
|
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")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user