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

@ -72,6 +72,8 @@ async def test_setup_legacy_service(hass: HomeAssistant) -> None:
},
}
await async_setup_component(hass, "homeassistant", {})
with assert_setup_component(1, tts.DOMAIN):
assert await async_setup_component(hass, tts.DOMAIN, config)