2020-10-23 16:28:21 +02:00
|
|
|
"""demo conftest."""
|
2023-05-02 22:08:09 +02:00
|
|
|
import pytest
|
|
|
|
|
|
|
|
from homeassistant.core import HomeAssistant
|
|
|
|
from homeassistant.setup import async_setup_component
|
|
|
|
|
2021-04-28 00:15:38 +02:00
|
|
|
from tests.components.blueprint.conftest import stub_blueprint_populate # noqa: F401
|
2021-03-02 10:02:04 +02:00
|
|
|
from tests.components.light.conftest import mock_light_profiles # noqa: F401
|
2023-05-02 22:08:09 +02:00
|
|
|
|
|
|
|
|
|
|
|
@pytest.fixture(autouse=True)
|
|
|
|
async def setup_homeassistant(hass: HomeAssistant):
|
|
|
|
"""Set up the homeassistant integration."""
|
|
|
|
await async_setup_component(hass, "homeassistant", {})
|