Fix hue discovery popping up (#14614)
* Fix hue discovery popping up * Fix result * Fix tests
This commit is contained in:
1 parent
69e86c29a6
commit
ef35b8d428
5 files changed
+38
-11
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user