mirror of
https://github.com/home-assistant/core.git
synced 2025-11-09 02:49:40 +00:00
Fix create flow logic for single config entry integrations (#129807)
* Fix create flow logic for single config entry integrations * Adjust MQTT test
This commit is contained in:
@@ -5729,6 +5729,14 @@ async def test_starting_config_flow_on_single_config_entry(
|
||||
None,
|
||||
{"type": data_entry_flow.FlowResultType.ABORT, "reason": "not_implemented"},
|
||||
),
|
||||
(
|
||||
{"source": config_entries.SOURCE_ZEROCONF},
|
||||
None,
|
||||
{
|
||||
"type": data_entry_flow.FlowResultType.ABORT,
|
||||
"reason": "single_instance_allowed",
|
||||
},
|
||||
),
|
||||
],
|
||||
)
|
||||
async def test_starting_config_flow_on_single_config_entry_2(
|
||||
|
||||
Reference in New Issue
Block a user