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:
Erik Montnemery 2023-05-03 15:45:54 +02:00 committed by GitHub
parent 6a8668effc
commit 0126cfa9d9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
30 changed files with 195 additions and 128 deletions

View file

@ -75,6 +75,12 @@ VALID_CONFIG = {
}
@pytest.fixture(autouse=True)
async def setup_homeassistant(hass: HomeAssistant):
"""Set up the homeassistant integration."""
await async_setup_component(hass, "homeassistant", {})
@pytest.fixture
def mock_healthybox():
"""Mock fb.check_box_health."""