Skip to content

Commit

Permalink
SIngle entry for Fastdotcom (home-assistant#114963)
Browse files Browse the repository at this point in the history
  • Loading branch information
erwindouna authored Apr 5, 2024
1 parent 9204ccf commit f142e90
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
3 changes: 0 additions & 3 deletions homeassistant/components/fastdotcom/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ async def async_step_user(
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={})

Expand Down
3 changes: 2 additions & 1 deletion homeassistant/components/fastdotcom/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
3 changes: 2 additions & 1 deletion homeassistant/generated/integrations.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit f142e90

Please sign in to comment.