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:
parent
1fbc650871
commit
5d3471269a
5 changed files with 62 additions and 4 deletions
|
@ -12,7 +12,7 @@ def manager():
|
|||
handlers = Registry()
|
||||
entries = []
|
||||
|
||||
async def async_create_flow(handler_name):
|
||||
async def async_create_flow(handler_name, *, source, data):
|
||||
handler = handlers.get(handler_name)
|
||||
|
||||
if handler is None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue