SIngle entry for Fastdotcom (#114963)

This commit is contained in:
Erwin Douna 2024-04-05 18:53:28 +02:00 committed by GitHub
parent 9204ccfa17
commit f142e902df
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 4 additions and 5 deletions

View file

@ -20,9 +20,6 @@ class FastdotcomConfigFlow(ConfigFlow, domain=DOMAIN):
self, user_input: dict[str, Any] | None = None
) -> ConfigFlowResult:
"""Handle the initial step."""
if self._async_current_entries():
return self.async_abort(reason="single_instance_allowed")
if user_input is not None:
return self.async_create_entry(title=DEFAULT_NAME, data={})