Fix hassio panel load (#32922)
* Fix loading hassio panel * Remove blacklist
This commit is contained in:
1 parent
a9d16d4276
commit
82c8f18bc7
3 files changed
+9
-31
No files matched your search
@@ -20,8 +20,6 @@ DATA_DEPS_REQS = "deps_reqs_processed"
|
||||
|
||||
SLOW_SETUP_WARNING = 10
|
||||
|
||||
BLACKLIST = set(["auto_backup"])
|
||||
|
||||
|
||||
def setup_component(hass: core.HomeAssistant, domain: str, config: ConfigType) -> bool:
|
||||
"""Set up a component and all its dependencies."""
|
||||
@@ -40,12 +38,6 @@ async def async_setup_component(
|
||||
if domain in hass.config.components:
|
||||
return True
|
||||
|
||||
if domain in BLACKLIST:
|
||||
_LOGGER.error(
|
||||
"Integration %s is blacklisted because it is causing issues.", domain
|
||||
)
|
||||
return False
|
||||
|
||||
setup_tasks = hass.data.setdefault(DATA_SETUP, {})
|
||||
|
||||
if domain in setup_tasks:
|
||||
|
||||
Reference in new issue
Block a user