Add name to ignored entries (#45051)

* Add name to ignored entries

* Fix test
This commit is contained in:
Paulus Schoutsen 2021-01-12 09:26:20 +01:00 committed by GitHub
parent f312b87a3f
commit e83ced6737
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 16 additions and 8 deletions

View file

@ -750,6 +750,7 @@ async def test_ignore_flow(hass, hass_ws_client):
"id": 5,
"type": "config_entries/ignore_flow",
"flow_id": result["flow_id"],
"title": "Test Integration",
}
)
response = await ws_client.receive_json()
@ -761,3 +762,4 @@ async def test_ignore_flow(hass, hass_ws_client):
entry = hass.config_entries.async_entries("test")[0]
assert entry.source == "ignore"
assert entry.unique_id == "mock-unique-id"
assert entry.title == "Test Integration"