diff --git a/homeassistant/components/input_text/__init__.py b/homeassistant/components/input_text/__init__.py index d43e47c11ca..2d5a23e2a76 100644 --- a/homeassistant/components/input_text/__init__.py +++ b/homeassistant/components/input_text/__init__.py @@ -3,14 +3,14 @@ import logging import voluptuous as vol -import homeassistant.helpers.config_validation as cv from homeassistant.const import ( - ATTR_UNIT_OF_MEASUREMENT, ATTR_MODE, + ATTR_UNIT_OF_MEASUREMENT, CONF_ICON, - CONF_NAME, CONF_MODE, + CONF_NAME, ) +import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity_component import EntityComponent from homeassistant.helpers.restore_state import RestoreEntity diff --git a/homeassistant/components/input_text/reproduce_state.py b/homeassistant/components/input_text/reproduce_state.py index f64c5c019f6..28a2f27ee84 100644 --- a/homeassistant/components/input_text/reproduce_state.py +++ b/homeassistant/components/input_text/reproduce_state.py @@ -7,7 +7,7 @@ from homeassistant.const import ATTR_ENTITY_ID from homeassistant.core import Context, State from homeassistant.helpers.typing import HomeAssistantType -from . import DOMAIN, SERVICE_SET_VALUE, ATTR_VALUE +from . import ATTR_VALUE, DOMAIN, SERVICE_SET_VALUE _LOGGER = logging.getLogger(__name__) diff --git a/tests/components/input_text/test_init.py b/tests/components/input_text/test_init.py index 4888994d788..b758b245092 100644 --- a/tests/components/input_text/test_init.py +++ b/tests/components/input_text/test_init.py @@ -4,7 +4,7 @@ import asyncio from homeassistant.components.input_text import ATTR_VALUE, DOMAIN, SERVICE_SET_VALUE from homeassistant.const import ATTR_ENTITY_ID -from homeassistant.core import CoreState, State, Context +from homeassistant.core import Context, CoreState, State from homeassistant.loader import bind_hass from homeassistant.setup import async_setup_component