diff --git a/tests/components/homekit_controller/specific_devices/test_aqara_gateway.py b/tests/components/homekit_controller/specific_devices/test_aqara_gateway.py index 6e41a88b299..292c4169688 100644 --- a/tests/components/homekit_controller/specific_devices/test_aqara_gateway.py +++ b/tests/components/homekit_controller/specific_devices/test_aqara_gateway.py @@ -5,10 +5,11 @@ https://github.com/home-assistant/home-assistant/issues/20957 """ from homeassistant.components.light import SUPPORT_BRIGHTNESS, SUPPORT_COLOR + from tests.components.homekit_controller.common import ( + Helper, setup_accessories_from_file, setup_test_accessories, - Helper, ) diff --git a/tests/components/homekit_controller/specific_devices/test_ecobee3.py b/tests/components/homekit_controller/specific_devices/test_ecobee3.py index 8531712a5d3..bb7695840f0 100644 --- a/tests/components/homekit_controller/specific_devices/test_ecobee3.py +++ b/tests/components/homekit_controller/specific_devices/test_ecobee3.py @@ -8,19 +8,18 @@ from unittest import mock from homekit import AccessoryDisconnectedError -from homeassistant.config_entries import ENTRY_STATE_SETUP_RETRY from homeassistant.components.climate.const import ( - SUPPORT_TARGET_TEMPERATURE, SUPPORT_TARGET_HUMIDITY, + SUPPORT_TARGET_TEMPERATURE, ) - +from homeassistant.config_entries import ENTRY_STATE_SETUP_RETRY from tests.components.homekit_controller.common import ( FakePairing, + Helper, device_config_changed, setup_accessories_from_file, setup_test_accessories, - Helper, time_changed, ) diff --git a/tests/components/homekit_controller/specific_devices/test_hue_bridge.py b/tests/components/homekit_controller/specific_devices/test_hue_bridge.py index f3e4baa4b1f..0b6ebc00eba 100644 --- a/tests/components/homekit_controller/specific_devices/test_hue_bridge.py +++ b/tests/components/homekit_controller/specific_devices/test_hue_bridge.py @@ -1,9 +1,9 @@ """Tests for handling accessories on a Hue bridge via HomeKit.""" from tests.components.homekit_controller.common import ( + Helper, setup_accessories_from_file, setup_test_accessories, - Helper, ) diff --git a/tests/components/homekit_controller/specific_devices/test_koogeek_ls1.py b/tests/components/homekit_controller/specific_devices/test_koogeek_ls1.py index 89c5bb4de3c..52339bb6635 100644 --- a/tests/components/homekit_controller/specific_devices/test_koogeek_ls1.py +++ b/tests/components/homekit_controller/specific_devices/test_koogeek_ls1.py @@ -3,17 +3,18 @@ from datetime import timedelta from unittest import mock +from homekit.exceptions import AccessoryDisconnectedError, EncryptionError import pytest -from homekit.exceptions import AccessoryDisconnectedError, EncryptionError -import homeassistant.util.dt as dt_util from homeassistant.components.light import SUPPORT_BRIGHTNESS, SUPPORT_COLOR +import homeassistant.util.dt as dt_util + from tests.common import async_fire_time_changed from tests.components.homekit_controller.common import ( - setup_accessories_from_file, - setup_test_accessories, FakePairing, Helper, + setup_accessories_from_file, + setup_test_accessories, ) LIGHT_ON = ("lightbulb", "on") diff --git a/tests/components/homekit_controller/specific_devices/test_lennox_e30.py b/tests/components/homekit_controller/specific_devices/test_lennox_e30.py index ef0d35166db..3209139ae1e 100644 --- a/tests/components/homekit_controller/specific_devices/test_lennox_e30.py +++ b/tests/components/homekit_controller/specific_devices/test_lennox_e30.py @@ -5,10 +5,11 @@ https://github.com/home-assistant/home-assistant/issues/20885 """ from homeassistant.components.climate.const import SUPPORT_TARGET_TEMPERATURE + from tests.components.homekit_controller.common import ( + Helper, setup_accessories_from_file, setup_test_accessories, - Helper, )