From 7eafa5805ac7d66d41b639fed2f10a533b3302e6 Mon Sep 17 00:00:00 2001
From: Paulus Schoutsen <Paulus@PaulusSchoutsen.nl>
Date: Wed, 22 Oct 2014 08:12:32 -0700
Subject: [PATCH] In rare occasion the group component would not load

---
 homeassistant/bootstrap.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/homeassistant/bootstrap.py b/homeassistant/bootstrap.py
index 6d0fead6293..e2420824df6 100644
--- a/homeassistant/bootstrap.py
+++ b/homeassistant/bootstrap.py
@@ -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")
-- 
GitLab