isort the evohome code (#27977)

This commit is contained in:
David Bonnes 2019-10-20 20:20:53 +01:00 committed by GitHub
parent 5d94c82175
commit bce9f14751
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 9 deletions

View File

@ -8,9 +8,9 @@ import re
from typing import Any, Dict, Optional, Tuple from typing import Any, Dict, Optional, Tuple
import aiohttp.client_exceptions import aiohttp.client_exceptions
import voluptuous as vol
import evohomeasync2
import evohomeasync import evohomeasync
import evohomeasync2
import voluptuous as vol
from homeassistant.const import ( from homeassistant.const import (
CONF_PASSWORD, CONF_PASSWORD,
@ -28,7 +28,7 @@ from homeassistant.helpers.entity import Entity
from homeassistant.helpers.typing import ConfigType, HomeAssistantType from homeassistant.helpers.typing import ConfigType, HomeAssistantType
import homeassistant.util.dt as dt_util import homeassistant.util.dt as dt_util
from .const import DOMAIN, EVO_FOLLOW, STORAGE_VERSION, STORAGE_KEY, GWS, TCS from .const import DOMAIN, EVO_FOLLOW, GWS, STORAGE_KEY, STORAGE_VERSION, TCS
_LOGGER = logging.getLogger(__name__) _LOGGER = logging.getLogger(__name__)

View File

@ -1,6 +1,6 @@
"""Support for Climate devices of (EMEA/EU-based) Honeywell TCC systems.""" """Support for Climate devices of (EMEA/EU-based) Honeywell TCC systems."""
import logging import logging
from typing import Optional, List from typing import List, Optional
from homeassistant.components.climate import ClimateDevice from homeassistant.components.climate import ClimateDevice
from homeassistant.components.climate.const import ( from homeassistant.components.climate.const import (
@ -14,26 +14,26 @@ from homeassistant.components.climate.const import (
PRESET_ECO, PRESET_ECO,
PRESET_HOME, PRESET_HOME,
PRESET_NONE, PRESET_NONE,
SUPPORT_TARGET_TEMPERATURE,
SUPPORT_PRESET_MODE, SUPPORT_PRESET_MODE,
SUPPORT_TARGET_TEMPERATURE,
) )
from homeassistant.const import PRECISION_TENTHS from homeassistant.const import PRECISION_TENTHS
from homeassistant.helpers.typing import ConfigType, HomeAssistantType from homeassistant.helpers.typing import ConfigType, HomeAssistantType
from homeassistant.util.dt import parse_datetime from homeassistant.util.dt import parse_datetime
from . import CONF_LOCATION_IDX, EvoDevice, EvoChild from . import CONF_LOCATION_IDX, EvoChild, EvoDevice
from .const import ( from .const import (
DOMAIN, DOMAIN,
EVO_RESET,
EVO_AUTO, EVO_AUTO,
EVO_AUTOECO, EVO_AUTOECO,
EVO_AWAY, EVO_AWAY,
EVO_CUSTOM, EVO_CUSTOM,
EVO_DAYOFF, EVO_DAYOFF,
EVO_HEATOFF,
EVO_FOLLOW, EVO_FOLLOW,
EVO_TEMPOVER, EVO_HEATOFF,
EVO_PERMOVER, EVO_PERMOVER,
EVO_RESET,
EVO_TEMPOVER,
) )
_LOGGER = logging.getLogger(__name__) _LOGGER = logging.getLogger(__name__)