Mark abode as single_config_entry (#131241)

This commit is contained in:
epenet
2024-11-22 15:04:41 +01:00
committed by GitHub
parent 384b2af31e
commit f51662f31b
5 changed files with 18 additions and 23 deletions

View File

@@ -112,9 +112,6 @@ class AbodeFlowHandler(ConfigFlow, domain=DOMAIN):
self, user_input: dict[str, Any] | None = None
) -> ConfigFlowResult:
"""Handle a flow initialized by the user."""
if self._async_current_entries():
return self.async_abort(reason="single_instance_allowed")
if user_input is None:
return self.async_show_form(
step_id="user", data_schema=vol.Schema(self.data_schema)