Fix wrong arg name in Idasen Desk config flow (#119247)

This commit is contained in:
Abílio Costa 2024-06-10 02:02:38 +01:00 committed by GitHub
parent d657feafa6
commit be22214a33
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -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:

View file

@ -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)