mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 21:06:19 +00:00
Move components to folders (#20774)
* Move all components into folders * Move component tests into folders * Fix init moving * Move tests * Lint * Update coverage * Fix service descriptions * Update CODEOWNERS
This commit is contained in:
@@ -16,7 +16,7 @@ from homeassistant.const import (
|
||||
import homeassistant.util.dt as dt_util
|
||||
|
||||
from tests.common import async_fire_time_changed
|
||||
from ..test_rflink import mock_rflink
|
||||
from tests.components.rflink.test_init import mock_rflink
|
||||
|
||||
DOMAIN = 'binary_sensor'
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ import requests_mock
|
||||
from homeassistant.components.binary_sensor import ring
|
||||
from homeassistant.components import ring as base_ring
|
||||
|
||||
from tests.components.test_ring import ATTRIBUTION, VALID_CONFIG
|
||||
from tests.components.ring.test_init import ATTRIBUTION, VALID_CONFIG
|
||||
from tests.common import (
|
||||
get_test_config_dir, get_test_home_assistant, load_fixture)
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ import requests_mock
|
||||
from homeassistant.setup import setup_component
|
||||
from homeassistant.components.binary_sensor import sleepiq
|
||||
|
||||
from tests.components.test_sleepiq import mock_responses
|
||||
from tests.components.sleepiq.test_init import mock_responses
|
||||
from tests.common import get_test_home_assistant
|
||||
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ from homeassistant.components.vultr import (
|
||||
from homeassistant.const import (
|
||||
CONF_PLATFORM, CONF_NAME)
|
||||
|
||||
from tests.components.test_vultr import VALID_CONFIG
|
||||
from tests.components.vultr.test_init import VALID_CONFIG
|
||||
from tests.common import (
|
||||
get_test_home_assistant, load_fixture)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user