1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00

Fix hue discovery popping up (#14614)

* Fix hue discovery popping up

* Fix result

* Fix tests
This commit is contained in:
Paulus Schoutsen
2018-05-24 14:24:14 -04:00
committed by GitHub
parent 4fb4838bde
commit fa9b9105a8
5 changed files with 38 additions and 11 deletions

View File

@@ -21,7 +21,8 @@ def manager():
return handler()
async def async_add_entry(result):
entries.append(result)
if (result['type'] == data_entry_flow.RESULT_TYPE_CREATE_ENTRY):
entries.append(result)
manager = data_entry_flow.FlowManager(
None, async_create_flow, async_add_entry)