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."""
|
"""Support for HomeMatic devices."""
|
||||||
from datetime import timedelta, datetime
|
from datetime import datetime, timedelta
|
||||||
from functools import partial
|
from functools import partial
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
|
from pyhomematic import HMConnection
|
||||||
import voluptuous as vol
|
import voluptuous as vol
|
||||||
|
|
||||||
from homeassistant.const import (
|
from homeassistant.const import (
|
||||||
|
@ -366,7 +367,6 @@ SCHEMA_SERVICE_PUT_PARAMSET = vol.Schema(
|
||||||
|
|
||||||
def setup(hass, config):
|
def setup(hass, config):
|
||||||
"""Set up the Homematic component."""
|
"""Set up the Homematic component."""
|
||||||
from pyhomematic import HMConnection
|
|
||||||
|
|
||||||
conf = config[DOMAIN]
|
conf = config[DOMAIN]
|
||||||
hass.data[DATA_CONF] = remotes = {}
|
hass.data[DATA_CONF] = remotes = {}
|
||||||
|
|
Loading…
Add table
Reference in a new issue