Mark config dependency of frontend (#36587)
This commit is contained in:
1 parent
29b8f76e57
commit
8f3c84b349
8 files changed
+3
-39
No files matched your search
@@ -59,17 +59,6 @@ async def _async_process_dependencies(
|
||||
hass: core.HomeAssistant, config: ConfigType, name: str, dependencies: List[str]
|
||||
) -> bool:
|
||||
"""Ensure all dependencies are set up."""
|
||||
blacklisted = [dep for dep in dependencies if dep in loader.DEPENDENCY_BLACKLIST]
|
||||
|
||||
if blacklisted and name not in ("default_config", "safe_mode"):
|
||||
_LOGGER.error(
|
||||
"Unable to set up dependencies of %s: "
|
||||
"found blacklisted dependencies: %s",
|
||||
name,
|
||||
", ".join(blacklisted),
|
||||
)
|
||||
return False
|
||||
|
||||
tasks = [async_setup_component(hass, dep, config) for dep in dependencies]
|
||||
|
||||
if not tasks:
|
||||
|
||||
Reference in new issue
Block a user