mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 12:17:07 +00:00
Fix repair issue about no yaml for config entries (#94271)
This commit is contained in:
parent
76535d3f7d
commit
6db1fbf480
@ -1132,7 +1132,7 @@ def config_entry_only_config_schema(domain: str) -> Callable[[dict], dict]:
|
||||
domain,
|
||||
"config_entry_only",
|
||||
"config_entry_only",
|
||||
{"add_integration": f"/_my_redirect/config_flow_start?domain={domain}"},
|
||||
{"add_integration": f"/config/integrations/dashboard/add?domain={domain}"},
|
||||
)
|
||||
|
||||
|
||||
|
@ -240,12 +240,15 @@ async def _async_setup_component(
|
||||
async_create_issue(
|
||||
hass,
|
||||
HOMEASSISTANT_DOMAIN,
|
||||
f"config_entry_only{domain}",
|
||||
f"config_entry_only_{domain}",
|
||||
is_fixable=False,
|
||||
severity=IssueSeverity.ERROR,
|
||||
issue_domain=domain,
|
||||
translation_key="config_entry_only",
|
||||
translation_placeholders={"domain": domain},
|
||||
translation_placeholders={
|
||||
"domain": domain,
|
||||
"add_integration": f"/config/integrations/dashboard/add?domain={domain}",
|
||||
},
|
||||
)
|
||||
|
||||
start = timer()
|
||||
|
Loading…
x
Reference in New Issue
Block a user