1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 04:50:05 +00:00

Remove homeassistant from conversation dependencies (#92170)

* Remove homeassistant from conversation dependencies

* Fix tests
This commit is contained in:
Erik Montnemery
2023-04-28 18:17:48 +02:00
committed by GitHub
parent e6438dabff
commit f8f7de5d5a
6 changed files with 26 additions and 1 deletions

View File

@@ -15,6 +15,7 @@ from homeassistant.components.esphome import (
)
from homeassistant.const import CONF_HOST, CONF_PASSWORD, CONF_PORT
from homeassistant.core import HomeAssistant
from homeassistant.setup import async_setup_component
from . import DASHBOARD_HOST, DASHBOARD_PORT, DASHBOARD_SLUG
@@ -31,6 +32,12 @@ def esphome_mock_async_zeroconf(mock_async_zeroconf):
"""Auto mock zeroconf."""
@pytest.fixture(autouse=True)
async def load_homeassistant(hass) -> None:
"""Load the homeassistant integration."""
assert await async_setup_component(hass, "homeassistant", {})
@pytest.fixture
def mock_config_entry(hass) -> MockConfigEntry:
"""Return the default mocked config entry."""