Move imports to top for homematic (#29558)
This commit is contained in:
parent
b8434fdcfd
commit
c9415ab75d
1 changed files with 2 additions and 2 deletions
|
@ -1,8 +1,9 @@
|
|||
"""Support for HomeMatic devices."""
|
||||
from datetime import timedelta, datetime
|
||||
from datetime import datetime, timedelta
|
||||
from functools import partial
|
||||
import logging
|
||||
|
||||
from pyhomematic import HMConnection
|
||||
import voluptuous as vol
|
||||
|
||||
from homeassistant.const import (
|
||||
|
@ -366,7 +367,6 @@ SCHEMA_SERVICE_PUT_PARAMSET = vol.Schema(
|
|||
|
||||
def setup(hass, config):
|
||||
"""Set up the Homematic component."""
|
||||
from pyhomematic import HMConnection
|
||||
|
||||
conf = config[DOMAIN]
|
||||
hass.data[DATA_CONF] = remotes = {}
|
||||
|
|
Loading…
Add table
Reference in a new issue