Remove homeassistant from conversation dependencies (#92170)
* Remove homeassistant from conversation dependencies * Fix tests
This commit is contained in:
parent
e6438dabff
commit
f8f7de5d5a
6 changed files with 26 additions and 1 deletions
|
@ -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."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue