Skip to content

Commit 6d58928

Browse files
committed
Use _get_reauth_entry helper on reauth flow
1 parent ad83784 commit 6d58928

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

custom_components/smartthinq_sensors/config_flow.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -368,8 +368,7 @@ async def async_step_reauth_confirm(
368368

369369
if user_input[CONF_REAUTH_CRED] is True:
370370
return await self.async_step_user()
371-
entries = self._async_current_entries()
372-
return self.async_update_reload_and_abort(entries[0])
371+
return self.async_update_reload_and_abort(self._get_reauth_entry())
373372

374373

375374
def _dict_to_select(opt_dict: dict) -> SelectSelectorConfig:

0 commit comments

Comments
 (0)