Fix serialization of Xiaomi BLE reauth flow (#76095)
* Use data instead of context to fix serialisation bug * Test change to async_start_reauth
This commit is contained in:
parent
a628be4db8
commit
a0adfb9e62
5 changed files with 18 additions and 8 deletions
|
@ -1033,9 +1033,8 @@ async def test_async_step_reauth_abort_early(hass):
|
|||
"entry_id": entry.entry_id,
|
||||
"title_placeholders": {"name": entry.title},
|
||||
"unique_id": entry.unique_id,
|
||||
"device": device,
|
||||
},
|
||||
data=entry.data,
|
||||
data=entry.data | {"device": device},
|
||||
)
|
||||
|
||||
assert result["type"] == FlowResultType.ABORT
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue