Sort imports according to PEP8 for specific_devices (#29687)
parent
c54135486e
commit
776d8cfdc9
|
@ -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,
|
||||
)
|
||||
|
||||
|
||||
|
|
|
@ -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,
|
||||
)
|
||||
|
||||
|
|
|
@ -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,
|
||||
)
|
||||
|
||||
|
||||
|
|
|
@ -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")
|
||||
|
|
|
@ -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,
|
||||
)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue