Cleanup root component imports in tests (#78893)

This commit is contained in:
epenet 2022-09-21 18:57:41 +02:00 committed by GitHub
parent cd6697615f
commit 0d696b84b2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
65 changed files with 82 additions and 88 deletions

View file

@ -9,7 +9,7 @@ from unittest import mock
from aiohomekit import AccessoryNotFoundError
from aiohomekit.testing import FakePairing
from homeassistant.components.climate.const import (
from homeassistant.components.climate import (
SUPPORT_TARGET_HUMIDITY,
SUPPORT_TARGET_TEMPERATURE,
SUPPORT_TARGET_TEMPERATURE_RANGE,

View file

@ -1,7 +1,7 @@
"""Tests for Ecobee 501."""
from homeassistant.components.climate.const import (
from homeassistant.components.climate import (
SUPPORT_FAN_MODE,
SUPPORT_TARGET_HUMIDITY,
SUPPORT_TARGET_TEMPERATURE,

View file

@ -4,7 +4,7 @@ Regression tests for Aqara Gateway V3.
https://github.com/home-assistant/core/issues/20885
"""
from homeassistant.components.climate.const import (
from homeassistant.components.climate import (
SUPPORT_TARGET_TEMPERATURE,
SUPPORT_TARGET_TEMPERATURE_RANGE,
)

View file

@ -1,6 +1,6 @@
"""Make sure that handling real world LG HomeKit characteristics isn't broken."""
from homeassistant.components.media_player.const import (
from homeassistant.components.media_player import (
SUPPORT_PAUSE,
SUPPORT_PLAY,
SUPPORT_SELECT_SOURCE,