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: