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:
Paulus Schoutsen 2018-04-22 15:00:24 -04:00 committed by Pascal Vizeli
parent 1fbc650871
commit 5d3471269a
5 changed files with 62 additions and 4 deletions

View file

@ -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: