diff --git a/homeassistant/components/light/hue.py b/homeassistant/components/light/hue.py index b828847ecb0..b1843f4bca8 100644 --- a/homeassistant/components/light/hue.py +++ b/homeassistant/components/light/hue.py @@ -90,7 +90,7 @@ def setup_bridge(host, hass, add_devices_callback, filename): except phue.PhueRegistrationException: _LOGGER.warning("Connected to Hue at %s but not registered.", host) - request_configuration(host, hass, add_devices_callback) + request_configuration(host, hass, add_devices_callback, filename) return @@ -143,7 +143,7 @@ def setup_bridge(host, hass, add_devices_callback, filename): update_lights() -def request_configuration(host, hass, add_devices_callback): +def request_configuration(host, hass, add_devices_callback, filename): """ Request configuration steps from the user. """ configurator = get_component('configurator') @@ -157,7 +157,7 @@ def request_configuration(host, hass, add_devices_callback): # pylint: disable=unused-argument def hue_configuration_callback(data): """ Actions to do when our configuration callback is called. """ - setup_bridge(host, hass, add_devices_callback) + setup_bridge(host, hass, add_devices_callback, filename) _CONFIGURING[host] = configurator.request_config( hass, "Philips Hue", hue_configuration_callback,