SIngle entry for Fastdotcom (#114963)
This commit is contained in:
parent
9204ccfa17
commit
f142e902df
3 changed files with 4 additions and 5 deletions
|
@ -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={})
|
||||
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Add table
Reference in a new issue