ConfigFlow default discovery without unique ID (#36754)
This commit is contained in:
parent
dfac9c5e03
commit
3cc94f7d6a
32 changed files with 408 additions and 170 deletions
|
@ -105,6 +105,6 @@ class FreeboxFlowHandler(config_entries.ConfigFlow, domain=DOMAIN):
|
|||
"""Import a config entry."""
|
||||
return await self.async_step_user(user_input)
|
||||
|
||||
async def async_step_discovery(self, user_input=None):
|
||||
async def async_step_discovery(self, discovery_info):
|
||||
"""Initialize step from discovery."""
|
||||
return await self.async_step_user(user_input)
|
||||
return await self.async_step_user(discovery_info)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue