mirror of
https://github.com/home-assistant/core.git
synced 2025-07-13 16:27:08 +00:00
Remember user and hub after input in ConfigFlow (#66608)
This commit is contained in:
parent
76149876ab
commit
2456d8a401
@ -65,6 +65,9 @@ class ConfigFlow(config_entries.ConfigFlow, domain=DOMAIN):
|
||||
errors = {}
|
||||
|
||||
if user_input:
|
||||
self._default_user = user_input[CONF_USERNAME]
|
||||
self._default_hub = user_input[CONF_HUB]
|
||||
|
||||
try:
|
||||
await self.async_validate_input(user_input)
|
||||
except TooManyRequestsException:
|
||||
|
Loading…
x
Reference in New Issue
Block a user