mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Sort imports according to PEP8 for iaqualink (#29681)
This commit is contained in:
parent
b54c8641b4
commit
9cf3ff319e
@ -5,8 +5,6 @@ import logging
|
||||
from typing import Any, Dict
|
||||
|
||||
import aiohttp.client_exceptions
|
||||
import voluptuous as vol
|
||||
|
||||
from iaqualink import (
|
||||
AqualinkBinarySensor,
|
||||
AqualinkClient,
|
||||
@ -17,6 +15,7 @@ from iaqualink import (
|
||||
AqualinkThermostat,
|
||||
AqualinkToggle,
|
||||
)
|
||||
import voluptuous as vol
|
||||
|
||||
from homeassistant import config_entries
|
||||
from homeassistant.components.binary_sensor import DOMAIN as BINARY_SENSOR_DOMAIN
|
||||
@ -29,18 +28,17 @@ from homeassistant.const import CONF_PASSWORD, CONF_USERNAME
|
||||
from homeassistant.core import callback
|
||||
from homeassistant.exceptions import ConfigEntryNotReady
|
||||
from homeassistant.helpers.aiohttp_client import async_get_clientsession
|
||||
import homeassistant.helpers.config_validation as cv
|
||||
from homeassistant.helpers.dispatcher import (
|
||||
async_dispatcher_connect,
|
||||
async_dispatcher_send,
|
||||
)
|
||||
from homeassistant.helpers.entity import Entity
|
||||
from homeassistant.helpers.event import async_track_time_interval
|
||||
import homeassistant.helpers.config_validation as cv
|
||||
from homeassistant.helpers.typing import ConfigType, HomeAssistantType
|
||||
|
||||
from .const import DOMAIN, UPDATE_INTERVAL
|
||||
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
ATTR_CONFIG = "config"
|
||||
|
@ -2,9 +2,9 @@
|
||||
import logging
|
||||
|
||||
from homeassistant.components.binary_sensor import (
|
||||
BinarySensorDevice,
|
||||
DEVICE_CLASS_COLD,
|
||||
DOMAIN,
|
||||
BinarySensorDevice,
|
||||
)
|
||||
from homeassistant.config_entries import ConfigEntry
|
||||
from homeassistant.helpers.typing import HomeAssistantType
|
||||
|
@ -22,7 +22,7 @@ from homeassistant.const import ATTR_TEMPERATURE, TEMP_CELSIUS, TEMP_FAHRENHEIT
|
||||
from homeassistant.helpers.typing import HomeAssistantType
|
||||
|
||||
from . import AqualinkEntity, refresh_system
|
||||
from .const import DOMAIN as AQUALINK_DOMAIN, CLIMATE_SUPPORTED_MODES
|
||||
from .const import CLIMATE_SUPPORTED_MODES, DOMAIN as AQUALINK_DOMAIN
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
|
@ -1,9 +1,8 @@
|
||||
"""Config flow to configure zone component."""
|
||||
from typing import Optional
|
||||
|
||||
import voluptuous as vol
|
||||
|
||||
from iaqualink import AqualinkClient, AqualinkLoginException
|
||||
import voluptuous as vol
|
||||
|
||||
from homeassistant import config_entries
|
||||
from homeassistant.const import CONF_PASSWORD, CONF_USERNAME
|
||||
|
@ -5,6 +5,7 @@ import iaqualink
|
||||
import pytest
|
||||
|
||||
from homeassistant.components.iaqualink import config_flow
|
||||
|
||||
from tests.common import MockConfigEntry, mock_coro
|
||||
|
||||
DATA = {"username": "test@example.com", "password": "pass"}
|
||||
|
Loading…
x
Reference in New Issue
Block a user