Fix hue discovery popping up (#14614)

* Fix hue discovery popping up

* Fix result

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

No files matched your search

+2 -1
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)