1
0
mirror of https://github.com/home-assistant/core.git synced 2026-04-24 18:59:22 +01:00

Use exposed_entities API in cloud tests (#92408)

This commit is contained in:
Erik Montnemery
2023-05-03 16:50:43 +02:00
committed by GitHub
parent b71f98e8b7
commit 470c3a0f5f
3 changed files with 69 additions and 79 deletions

View File

@@ -1060,8 +1060,8 @@ async def test_update_alexa_entity(
response = await client.receive_json()
assert response["success"]
assert entity_registry.async_get(entry.entity_id).options["cloud.alexa"] == {
"should_expose": False
assert exposed_entities.async_get_entity_settings(hass, entry.entity_id) == {
"cloud.alexa": {"should_expose": False}
}