mirror of
https://github.com/home-assistant/core.git
synced 2025-11-12 04:20:17 +00:00
Allow exposing any entity to the default conversation agent (#92398)
* Allow exposing any entity to the default conversation agent * Tweak * Fix race, update tests * Update tests
This commit is contained in:
@@ -16,6 +16,12 @@ from tests.common import assert_setup_component, async_capture_events
|
||||
from tests.test_util.aiohttp import AiohttpClientMocker
|
||||
|
||||
|
||||
@pytest.fixture(autouse=True)
|
||||
async def setup_homeassistant(hass: HomeAssistant):
|
||||
"""Set up the homeassistant integration."""
|
||||
await async_setup_component(hass, "homeassistant", {})
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def aiohttp_unused_port(event_loop, aiohttp_unused_port, socket_enabled):
|
||||
"""Return aiohttp_unused_port and allow opening sockets."""
|
||||
|
||||
Reference in New Issue
Block a user