Return config entry details for 1-step config flows (#48585)

This commit is contained in:
Erik Montnemery
2021-04-01 16:20:53 +02:00
committed by Paulus Schoutsen
parent 5df90b32fc
commit 947ac514b9
2 changed files with 24 additions and 15 deletions

View File

@@ -320,7 +320,17 @@ async def test_create_account(hass, client):
"title": "Test Entry",
"type": "create_entry",
"version": 1,
"result": entries[0].entry_id,
"result": {
"connection_class": "unknown",
"disabled_by": None,
"domain": "test",
"entry_id": entries[0].entry_id,
"source": "user",
"state": "loaded",
"supports_options": False,
"supports_unload": False,
"title": "Test Entry",
},
"description": None,
"description_placeholders": None,
}