From 81a482332d6bd90f0cef193ebb6b8a79a6d09ca3 Mon Sep 17 00:00:00 2001 From: Bas Nijholt Date: Sun, 8 Dec 2019 23:34:18 +0100 Subject: [PATCH] Sort imports according to PEP8 for eufy (#29715) --- homeassistant/components/eufy/__init__.py | 2 +- homeassistant/components/eufy/light.py | 7 +++---- homeassistant/components/eufy/switch.py | 1 + 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/homeassistant/components/eufy/__init__.py b/homeassistant/components/eufy/__init__.py index 191d6ab5315..eca637ec371 100644 --- a/homeassistant/components/eufy/__init__.py +++ b/homeassistant/components/eufy/__init__.py @@ -1,7 +1,7 @@ """Support for Eufy devices.""" import logging -import lakeside +import lakeside import voluptuous as vol from homeassistant.const import ( diff --git a/homeassistant/components/eufy/light.py b/homeassistant/components/eufy/light.py index 21c26606bdd..570f690307f 100644 --- a/homeassistant/components/eufy/light.py +++ b/homeassistant/components/eufy/light.py @@ -1,5 +1,6 @@ """Support for Eufy lights.""" import logging + import lakeside from homeassistant.components.light import ( @@ -7,16 +8,14 @@ from homeassistant.components.light import ( ATTR_COLOR_TEMP, ATTR_HS_COLOR, SUPPORT_BRIGHTNESS, - SUPPORT_COLOR_TEMP, SUPPORT_COLOR, + SUPPORT_COLOR_TEMP, Light, ) - import homeassistant.util.color as color_util - 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_mired_to_kelvin as mired_to_kelvin, ) _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/eufy/switch.py b/homeassistant/components/eufy/switch.py index 2e13886dd2a..cbc09f4101c 100644 --- a/homeassistant/components/eufy/switch.py +++ b/homeassistant/components/eufy/switch.py @@ -1,5 +1,6 @@ """Support for Eufy switches.""" import logging + import lakeside from homeassistant.components.switch import SwitchDevice