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

Don't use storage collection helper in ExposedEntities (#92396)

* Don't use storage collection helper in ExposedEntities

* Fix tests
This commit is contained in:
Erik Montnemery
2023-05-03 12:39:22 +02:00
committed by GitHub
parent 7aa94f97c0
commit 4860a8d1e8
31 changed files with 248 additions and 299 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 await gconf.should_expose(state)
assert gconf.should_expose(state)
await exposed_entities.async_expose_entity(
exposed_entities.async_expose_entity(
"cloud.google_assistant", entity_entry.entity_id, False
)
assert not await gconf.should_expose(state)
assert not gconf.should_expose(state)
async def test_google_config_should_2fa(