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={})

View file

@ -7,5 +7,6 @@
"iot_class": "cloud_polling",
"loggers": ["fastdotcom"],
"quality_scale": "gold",
"requirements": ["fastdotcom==0.0.3"]
"requirements": ["fastdotcom==0.0.3"],
"single_config_entry": true
}

View file

@ -1760,7 +1760,8 @@
"name": "Fast.com",
"integration_type": "hub",
"config_flow": true,
"iot_class": "cloud_polling"
"iot_class": "cloud_polling",
"single_config_entry": true
},
"feedreader": {
"name": "Feedreader",