diff --git a/homeassistant/components/hue/__init__.py b/homeassistant/components/hue/__init__.py index 027ec205195..f2b9bd1a229 100644 --- a/homeassistant/components/hue/__init__.py +++ b/homeassistant/components/hue/__init__.py @@ -9,9 +9,9 @@ from homeassistant.const import CONF_FILENAME, CONF_HOST from homeassistant.helpers import config_validation as cv, device_registry as dr from .bridge import HueBridge -from .config_flow import ( +from .config_flow import ( # Loading the config flow file will register the flow configured_hosts, -) # Loading the config flow file will register the flow +) from .const import DOMAIN _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/hue/config_flow.py b/homeassistant/components/hue/config_flow.py index 375042c8835..84b435d02ed 100644 --- a/homeassistant/components/hue/config_flow.py +++ b/homeassistant/components/hue/config_flow.py @@ -134,6 +134,7 @@ class HueFlowHandler(config_entries.ConfigFlow, domain=DOMAIN): This flow is triggered by the SSDP component. It will check if the host is already configured and delegate to the import step if not. """ + # pylint: disable=import-outside-toplevel from homeassistant.components.ssdp import ATTR_MANUFACTURERURL, ATTR_NAME if discovery_info[ATTR_MANUFACTURERURL] != HUE_MANUFACTURERURL: diff --git a/homeassistant/components/hue/helpers.py b/homeassistant/components/hue/helpers.py index af0f996b537..8a5fa973e4f 100644 --- a/homeassistant/components/hue/helpers.py +++ b/homeassistant/components/hue/helpers.py @@ -1,7 +1,7 @@ """Helper functions for Philips Hue.""" +from homeassistant import config_entries from homeassistant.helpers.device_registry import async_get_registry as get_dev_reg from homeassistant.helpers.entity_registry import async_get_registry as get_ent_reg -from homeassistant import config_entries from .const import DOMAIN