From a885670a9aede98b7074b0b29a070edda1adf2e7 Mon Sep 17 00:00:00 2001 From: Bas Nijholt Date: Sun, 8 Dec 2019 13:44:12 +0100 Subject: [PATCH] sort imports according to PEP8 for abode (#29610) --- homeassistant/components/abode/__init__.py | 4 ++-- homeassistant/components/abode/config_flow.py | 2 +- tests/components/abode/test_config_flow.py | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/homeassistant/components/abode/__init__.py b/homeassistant/components/abode/__init__.py index 1689576bc7f..6d23701d088 100644 --- a/homeassistant/components/abode/__init__.py +++ b/homeassistant/components/abode/__init__.py @@ -20,14 +20,14 @@ from homeassistant.const import ( CONF_USERNAME, EVENT_HOMEASSISTANT_STOP, ) -from homeassistant.helpers.dispatcher import dispatcher_send from homeassistant.helpers import config_validation as cv +from homeassistant.helpers.dispatcher import dispatcher_send from homeassistant.helpers.entity import Entity from .const import ( ATTRIBUTION, - DOMAIN, DEFAULT_CACHEDB, + DOMAIN, SIGNAL_CAPTURE_IMAGE, SIGNAL_TRIGGER_QUICK_ACTION, ) diff --git a/homeassistant/components/abode/config_flow.py b/homeassistant/components/abode/config_flow.py index b8e8548db31..89b389798f6 100644 --- a/homeassistant/components/abode/config_flow.py +++ b/homeassistant/components/abode/config_flow.py @@ -10,7 +10,7 @@ from homeassistant import config_entries from homeassistant.const import CONF_PASSWORD, CONF_USERNAME from homeassistant.core import callback -from .const import DOMAIN, DEFAULT_CACHEDB # pylint: disable=unused-import +from .const import DEFAULT_CACHEDB, DOMAIN # pylint: disable=unused-import CONF_POLLING = "polling" diff --git a/tests/components/abode/test_config_flow.py b/tests/components/abode/test_config_flow.py index c3f5d170767..5e32c923245 100644 --- a/tests/components/abode/test_config_flow.py +++ b/tests/components/abode/test_config_flow.py @@ -6,6 +6,7 @@ from abodepy.exceptions import AbodeAuthenticationException from homeassistant import data_entry_flow from homeassistant.components.abode import config_flow from homeassistant.const import CONF_PASSWORD, CONF_USERNAME + from tests.common import MockConfigEntry CONF_POLLING = "polling"