Add name to ignored entries (#45051)
* Add name to ignored entries * Fix test
This commit is contained in:
parent
f312b87a3f
commit
e83ced6737
5 changed files with 16 additions and 8 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue