Adjust root-import in tests (#78761)
* Adjust root-import in tests * Adjust diagnostics * Adjust button * Adjust select * Adjust device_tracker * Adjust camera * Adjust humidifier * Adjust media_source * Adjust update * Adjust siren * Adjust number * Adjust alarm_control_panel * Adjust notify * Adjust sensor * Adjust switch * Revert anthemav * Don't adjust demo humidifier
This commit is contained in:
parent
75e52ef389
commit
7bc2712142
71 changed files with 118 additions and 103 deletions
|
@ -16,8 +16,7 @@ from homeassistant.components.homekit.const import (
|
|||
PROP_VALID_VALUES,
|
||||
)
|
||||
from homeassistant.components.homekit.type_humidifiers import HumidifierDehumidifier
|
||||
from homeassistant.components.humidifier import HumidifierDeviceClass
|
||||
from homeassistant.components.humidifier.const import (
|
||||
from homeassistant.components.humidifier import (
|
||||
ATTR_HUMIDITY,
|
||||
ATTR_MAX_HUMIDITY,
|
||||
ATTR_MIN_HUMIDITY,
|
||||
|
@ -27,6 +26,7 @@ from homeassistant.components.humidifier.const import (
|
|||
DEVICE_CLASS_HUMIDIFIER,
|
||||
DOMAIN,
|
||||
SERVICE_SET_HUMIDITY,
|
||||
HumidifierDeviceClass,
|
||||
)
|
||||
from homeassistant.components.sensor import SensorDeviceClass
|
||||
from homeassistant.const import (
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
from pyhap.loader import get_loader
|
||||
import pytest
|
||||
|
||||
from homeassistant.components.alarm_control_panel import DOMAIN
|
||||
from homeassistant.components.alarm_control_panel.const import (
|
||||
from homeassistant.components.alarm_control_panel import (
|
||||
DOMAIN,
|
||||
SUPPORT_ALARM_ARM_AWAY,
|
||||
SUPPORT_ALARM_ARM_HOME,
|
||||
SUPPORT_ALARM_ARM_NIGHT,
|
||||
|
|
|
@ -17,7 +17,7 @@ from homeassistant.components.homekit.type_switches import (
|
|||
Vacuum,
|
||||
Valve,
|
||||
)
|
||||
from homeassistant.components.select.const import ATTR_OPTIONS
|
||||
from homeassistant.components.select import ATTR_OPTIONS
|
||||
from homeassistant.components.vacuum import (
|
||||
DOMAIN as VACUUM_DOMAIN,
|
||||
SERVICE_RETURN_TO_BASE,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue