From 054d14d5dec84e7f2d4a3dcbad45b1c8073a6f8d Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Thu, 31 Oct 2013 18:30:45 -0700 Subject: [PATCH] Bootstrapper now does not need a host option to load Hue --- homeassistant/bootstrap.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/homeassistant/bootstrap.py b/homeassistant/bootstrap.py index fb4642a9abb..21fa3a6e8aa 100644 --- a/homeassistant/bootstrap.py +++ b/homeassistant/bootstrap.py @@ -73,8 +73,11 @@ def from_config_file(config_path): # Init actors # Light control - if config.has_section("hue") and config.has_option("hue", "host"): - light_control = actors.HueLightControl(config.get("hue", "host")) + if config.has_section("hue"): + if config.has_option("hue", "host"): + light_control = actors.HueLightControl(config.get("hue", "host")) + else: + light_control = actors.HueLightControl() statusses.append(("Light Control - Hue", light_control.success_init))