diff --git a/homeassistant/components/somfy_mylink/__init__.py b/homeassistant/components/somfy_mylink/__init__.py index 394de5980ea..6c6333af5a6 100644 --- a/homeassistant/components/somfy_mylink/__init__.py +++ b/homeassistant/components/somfy_mylink/__init__.py @@ -1,6 +1,7 @@ """Component for the Somfy MyLink device supporting the Synergy API.""" import logging +from somfy_mylink_synergy import SomfyMyLinkSynergy import voluptuous as vol from homeassistant.const import CONF_HOST, CONF_PORT @@ -48,7 +49,6 @@ CONFIG_SCHEMA = vol.Schema( async def async_setup(hass, config): """Set up the MyLink platform.""" - from somfy_mylink_synergy import SomfyMyLinkSynergy host = config[DOMAIN][CONF_HOST] port = config[DOMAIN][CONF_PORT]