mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 12:17:07 +00:00
Sort imports according to PEP8 for eufy (#29715)
This commit is contained in:
parent
6a1753d6db
commit
81a482332d
@ -1,7 +1,7 @@
|
|||||||
"""Support for Eufy devices."""
|
"""Support for Eufy devices."""
|
||||||
import logging
|
import logging
|
||||||
import lakeside
|
|
||||||
|
|
||||||
|
import lakeside
|
||||||
import voluptuous as vol
|
import voluptuous as vol
|
||||||
|
|
||||||
from homeassistant.const import (
|
from homeassistant.const import (
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
"""Support for Eufy lights."""
|
"""Support for Eufy lights."""
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
import lakeside
|
import lakeside
|
||||||
|
|
||||||
from homeassistant.components.light import (
|
from homeassistant.components.light import (
|
||||||
@ -7,16 +8,14 @@ from homeassistant.components.light import (
|
|||||||
ATTR_COLOR_TEMP,
|
ATTR_COLOR_TEMP,
|
||||||
ATTR_HS_COLOR,
|
ATTR_HS_COLOR,
|
||||||
SUPPORT_BRIGHTNESS,
|
SUPPORT_BRIGHTNESS,
|
||||||
SUPPORT_COLOR_TEMP,
|
|
||||||
SUPPORT_COLOR,
|
SUPPORT_COLOR,
|
||||||
|
SUPPORT_COLOR_TEMP,
|
||||||
Light,
|
Light,
|
||||||
)
|
)
|
||||||
|
|
||||||
import homeassistant.util.color as color_util
|
import homeassistant.util.color as color_util
|
||||||
|
|
||||||
from homeassistant.util.color import (
|
from homeassistant.util.color import (
|
||||||
color_temperature_mired_to_kelvin as mired_to_kelvin,
|
|
||||||
color_temperature_kelvin_to_mired as kelvin_to_mired,
|
color_temperature_kelvin_to_mired as kelvin_to_mired,
|
||||||
|
color_temperature_mired_to_kelvin as mired_to_kelvin,
|
||||||
)
|
)
|
||||||
|
|
||||||
_LOGGER = logging.getLogger(__name__)
|
_LOGGER = logging.getLogger(__name__)
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
"""Support for Eufy switches."""
|
"""Support for Eufy switches."""
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
import lakeside
|
import lakeside
|
||||||
|
|
||||||
from homeassistant.components.switch import SwitchDevice
|
from homeassistant.components.switch import SwitchDevice
|
||||||
|
Loading…
x
Reference in New Issue
Block a user