Fix hue discovery popping up (#14614)
* Fix hue discovery popping up * Fix result * Fix tests
This commit is contained in:
parent
4fb4838bde
commit
fa9b9105a8
5 changed files with 38 additions and 11 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue