Sort imports according to PEP8 for components starting with "F" (#29766)

This commit is contained in:
Bas Nijholt authored and Franck Nijhof committed 2019-12-09 14:14:40 +01:00
1 parent f9e06ca2fd
commit ca0fad2cbb
34 files changed
+143 -144

No files matched your search

+6 -6
View File
@@ -11,9 +11,7 @@ import logging
import voluptuous as vol
import homeassistant.helpers.config_validation as cv
from homeassistant.components.light import (
is_on,
ATTR_BRIGHTNESS,
ATTR_COLOR_TEMP,
ATTR_RGB_COLOR,
@@ -22,29 +20,31 @@ from homeassistant.components.light import (
ATTR_XY_COLOR,
DOMAIN as LIGHT_DOMAIN,
VALID_TRANSITION,
is_on,
)
from homeassistant.components.switch import DOMAIN, SwitchDevice
from homeassistant.const import (
ATTR_ENTITY_ID,
CONF_NAME,
CONF_PLATFORM,
CONF_LIGHTS,
CONF_MODE,
CONF_NAME,
CONF_PLATFORM,
SERVICE_TURN_ON,
STATE_ON,
SUN_EVENT_SUNRISE,
SUN_EVENT_SUNSET,
)
import homeassistant.helpers.config_validation as cv
from homeassistant.helpers.event import async_track_time_interval
from homeassistant.helpers.restore_state import RestoreEntity
from homeassistant.helpers.sun import get_astral_event_date
from homeassistant.util import slugify
from homeassistant.util.color import (
color_temperature_to_rgb,
color_RGB_to_xy_brightness,
color_temperature_kelvin_to_mired,
color_temperature_to_rgb,
)
from homeassistant.util.dt import utcnow as dt_utcnow, as_local
from homeassistant.util.dt import as_local, utcnow as dt_utcnow
_LOGGER = logging.getLogger(__name__)