1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00

Allow exposing entities not in the entity registry to assistants (#92363)

This commit is contained in:
Erik Montnemery
2023-05-02 22:08:09 +02:00
committed by GitHub
parent cc4e741cfa
commit e3c16e634b
52 changed files with 563 additions and 224 deletions

View File

@@ -265,13 +265,13 @@ async def test_google_config_expose_entity(
state = State(entity_entry.entity_id, "on")
gconf = await cloud_client.get_google_config()
assert gconf.should_expose(state)
assert await gconf.should_expose(state)
exposed_entities.async_expose_entity(
await exposed_entities.async_expose_entity(
"cloud.google_assistant", entity_entry.entity_id, False
)
assert not gconf.should_expose(state)
assert not await gconf.should_expose(state)
async def test_google_config_should_2fa(