Add current step that is in progress (#35272)

This commit is contained in:
Paulus Schoutsen 2020-05-05 21:34:51 -07:00 committed by GitHub
parent 56beec1ce9
commit 1c5b4dbd97
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 20 additions and 3 deletions

View file

@ -390,7 +390,12 @@ async def test_get_progress_index(hass, hass_ws_client):
assert response["success"]
assert response["result"] == [
{"flow_id": form["flow_id"], "handler": "test", "context": {"source": "hassio"}}
{
"flow_id": form["flow_id"],
"handler": "test",
"step_id": "account",
"context": {"source": "hassio"},
}
]