Apply hass-relative-import to tests (s-z) (#78733)
This commit is contained in:
parent
c5a56dab42
commit
e9f55f4e54
39 changed files with 63 additions and 84 deletions
|
@ -19,8 +19,7 @@ from homeassistant.helpers import entity_registry as er
|
|||
from homeassistant.setup import async_setup_component
|
||||
from homeassistant.util.dt import utcnow
|
||||
|
||||
from tests.common import MockConfigEntry, async_fire_time_changed, mock_registry
|
||||
from tests.components.sleepiq.conftest import (
|
||||
from .conftest import (
|
||||
BED_ID,
|
||||
SLEEPER_L_ID,
|
||||
SLEEPER_L_NAME,
|
||||
|
@ -29,6 +28,8 @@ from tests.components.sleepiq.conftest import (
|
|||
setup_platform,
|
||||
)
|
||||
|
||||
from tests.common import MockConfigEntry, async_fire_time_changed, mock_registry
|
||||
|
||||
ENTITY_IS_IN_BED = f"sensor.sleepnumber_{BED_ID}_{SLEEPER_L_NAME_LOWER}_{IS_IN_BED}"
|
||||
ENTITY_PRESSURE = f"sensor.sleepnumber_{BED_ID}_{SLEEPER_L_NAME_LOWER}_{PRESSURE}"
|
||||
ENTITY_SLEEP_NUMBER = (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue