mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 08:47:57 +00:00
Fix wrong arg name in Idasen Desk config flow (#119247)
This commit is contained in:
parent
f9352dfe8f
commit
a28f5baeeb
@ -64,7 +64,7 @@ class IdasenDeskConfigFlow(ConfigFlow, domain=DOMAIN):
|
||||
|
||||
desk = Desk(None, monitor_height=False)
|
||||
try:
|
||||
await desk.connect(discovery_info.device, auto_reconnect=False)
|
||||
await desk.connect(discovery_info.device, retry=False)
|
||||
except AuthFailedError:
|
||||
errors["base"] = "auth_failed"
|
||||
except TimeoutError:
|
||||
|
@ -305,4 +305,4 @@ async def test_bluetooth_step_success(hass: HomeAssistant) -> None:
|
||||
}
|
||||
assert result2["result"].unique_id == IDASEN_DISCOVERY_INFO.address
|
||||
assert len(mock_setup_entry.mock_calls) == 1
|
||||
desk_connect.assert_called_with(ANY, auto_reconnect=False)
|
||||
desk_connect.assert_called_with(ANY, retry=False)
|
||||
|
Loading…
x
Reference in New Issue
Block a user