mirror of
https://github.com/home-assistant/core.git
synced 2025-07-24 05:37:44 +00:00
Move imports to top for somfy_mylink (#29464)
This commit is contained in:
parent
270d97d789
commit
dbd231b3a0
@ -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]
|
||||
|
Loading…
x
Reference in New Issue
Block a user