Show a notification when a config entry is discovered (#14022)
* Show a notification when a config entry is discovered * update comment * Inline functions * Lint
This commit is contained in:
1 parent
1fbc650871
commit
5d3471269a
5 files changed
+62
-4
No files matched your search
@@ -52,7 +52,7 @@ class FlowManager:
|
||||
|
||||
async def async_init(self, handler, *, source=SOURCE_USER, data=None):
|
||||
"""Start a configuration flow."""
|
||||
flow = await self._async_create_flow(handler)
|
||||
flow = await self._async_create_flow(handler, source=source, data=data)
|
||||
flow.hass = self.hass
|
||||
flow.handler = handler
|
||||
flow.flow_id = uuid.uuid4().hex
|
||||
|
||||
Reference in new issue
Block a user