mirror of
https://github.com/home-assistant/core.git
synced 2025-11-08 18:39:30 +00:00
Cleanup root component imports in tests (#78893)
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
)
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -8,7 +8,7 @@ from aiohomekit.model.characteristics import (
|
||||
)
|
||||
from aiohomekit.model.services import ServicesTypes
|
||||
|
||||
from homeassistant.components.climate.const import (
|
||||
from homeassistant.components.climate import (
|
||||
DOMAIN,
|
||||
SERVICE_SET_FAN_MODE,
|
||||
SERVICE_SET_HUMIDITY,
|
||||
|
||||
Reference in New Issue
Block a user