From e6fbfd8becf86798dcf41ff1c45dd0fc78926798 Mon Sep 17 00:00:00 2001 From: epenet <6771947+epenet@users.noreply.github.com> Date: Tue, 10 Nov 2026 12:45:52 +0100 Subject: [PATCH] Remove redundant flow check in config entries flow init (#191802) --- homeassistant/config_entries.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/homeassistant/config_entries.py b/homeassistant/config_entries.py index b40f8f77fff1..c46de361ccd0 100644 --- a/homeassistant/config_entries.py +++ b/homeassistant/config_entries.py @@ -1747,8 +1747,6 @@ class ConfigEntriesFlowManager( ) -> tuple[ConfigFlow, ConfigFlowResult]: """Run the init in a task to allow it to be canceled at shutdown.""" flow = await self.async_create_flow(handler, context=context, data=data) - if not flow: - raise data_entry_flow.UnknownFlow("Flow was not created") flow.hass = self.hass flow.handler = handler flow.flow_id = flow_id