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:
@@ -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."""
|
||||
|
||||
Reference in New Issue
Block a user