mirror of
https://github.com/home-assistant/core
synced 2024-07-18 12:02:20 +02:00
Sort imports according to PEP8 for ambiclimate (#29689)
This commit is contained in:
parent
bfa58f671a
commit
0b4ca9ecac
@ -4,10 +4,10 @@ import logging
|
||||
import voluptuous as vol
|
||||
|
||||
from homeassistant.helpers import config_validation as cv
|
||||
|
||||
from . import config_flow
|
||||
from .const import CONF_CLIENT_ID, CONF_CLIENT_SECRET, DOMAIN
|
||||
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
CONFIG_SCHEMA = vol.Schema(
|
||||
|
@ -7,13 +7,14 @@ import voluptuous as vol
|
||||
|
||||
from homeassistant.components.climate import ClimateDevice
|
||||
from homeassistant.components.climate.const import (
|
||||
SUPPORT_TARGET_TEMPERATURE,
|
||||
HVAC_MODE_OFF,
|
||||
HVAC_MODE_HEAT,
|
||||
HVAC_MODE_OFF,
|
||||
SUPPORT_TARGET_TEMPERATURE,
|
||||
)
|
||||
from homeassistant.const import ATTR_NAME, ATTR_TEMPERATURE, TEMP_CELSIUS
|
||||
from homeassistant.helpers import config_validation as cv
|
||||
from homeassistant.helpers.aiohttp_client import async_get_clientsession
|
||||
|
||||
from .const import (
|
||||
ATTR_VALUE,
|
||||
CONF_CLIENT_ID,
|
||||
|
@ -7,14 +7,15 @@ from homeassistant import config_entries
|
||||
from homeassistant.components.http import HomeAssistantView
|
||||
from homeassistant.core import callback
|
||||
from homeassistant.helpers.aiohttp_client import async_get_clientsession
|
||||
|
||||
from .const import (
|
||||
AUTH_CALLBACK_NAME,
|
||||
AUTH_CALLBACK_PATH,
|
||||
CONF_CLIENT_ID,
|
||||
CONF_CLIENT_SECRET,
|
||||
DOMAIN,
|
||||
STORAGE_VERSION,
|
||||
STORAGE_KEY,
|
||||
STORAGE_VERSION,
|
||||
)
|
||||
|
||||
DATA_AMBICLIMATE_IMPL = "ambiclimate_flow_implementation"
|
||||
|
@ -1,11 +1,13 @@
|
||||
"""Tests for the Ambiclimate config flow."""
|
||||
import ambiclimate
|
||||
from unittest.mock import Mock, patch
|
||||
|
||||
import ambiclimate
|
||||
|
||||
from homeassistant import data_entry_flow
|
||||
from homeassistant.components.ambiclimate import config_flow
|
||||
from homeassistant.setup import async_setup_component
|
||||
from homeassistant.util import aiohttp
|
||||
from homeassistant import data_entry_flow
|
||||
|
||||
from tests.common import mock_coro
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user