Make sure the config_flow key is set for brands (#82038)
Fixes https://github.com/home-assistant/frontend/issues/14376
This commit is contained in:
parent
af9ac9022b
commit
f035223599
2 changed files with 88 additions and 2 deletions
|
@ -102,8 +102,9 @@ def _populate_brand_integrations(
|
|||
metadata = {
|
||||
"integration_type": integration.integration_type,
|
||||
}
|
||||
if integration.config_flow:
|
||||
metadata["config_flow"] = integration.config_flow
|
||||
# Always set the config_flow key to avoid breaking the frontend
|
||||
# https://github.com/home-assistant/frontend/issues/14376
|
||||
metadata["config_flow"] = bool(integration.config_flow)
|
||||
if integration.iot_class:
|
||||
metadata["iot_class"] = integration.iot_class
|
||||
if integration.supported_by:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue