From 5abff70a87656667b47bf843fd9017706d903759 Mon Sep 17 00:00:00 2001 From: Jon Maddox Date: Tue, 15 Mar 2016 10:13:57 -0400 Subject: [PATCH] read in `allow_unreachable` config value --- homeassistant/components/light/hue.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/homeassistant/components/light/hue.py b/homeassistant/components/light/hue.py index 0c2bf8b0411..c77c74b2e63 100644 --- a/homeassistant/components/light/hue.py +++ b/homeassistant/components/light/hue.py @@ -53,6 +53,8 @@ def _find_host_from_config(hass, filename=PHUE_CONFIG_FILE): def setup_platform(hass, config, add_devices_callback, discovery_info=None): """Setup the Hue lights.""" filename = config.get(CONF_FILENAME, PHUE_CONFIG_FILE) + allow_unreachable = config.get('allow_unreachable', False) + if discovery_info is not None: host = urlparse(discovery_info[1]).hostname else: