Batch of Component(s) -> Integration(s) (#24972)
This commit is contained in:
1 parent
e75c9efb3f
commit
31f569ada9
27 files changed
+34
-34
No files matched your search
@@ -227,7 +227,7 @@ class IntegrationNotFound(LoaderError):
|
||||
|
||||
def __init__(self, domain: str) -> None:
|
||||
"""Initialize a component not found error."""
|
||||
super().__init__("Component {} not found.".format(domain))
|
||||
super().__init__("Integration {} not found.".format(domain))
|
||||
self.domain = domain
|
||||
|
||||
|
||||
@@ -429,7 +429,7 @@ def _async_mount_config_dir(hass, # type: HomeAssistant
|
||||
Async friendly but not a coroutine.
|
||||
"""
|
||||
if hass.config.config_dir is None:
|
||||
_LOGGER.error("Can't load components - config dir is not set")
|
||||
_LOGGER.error("Can't load integrations - config dir is not set")
|
||||
return False
|
||||
if hass.config.config_dir not in sys.path:
|
||||
sys.path.insert(0, hass.config.config_dir)
|
||||
|
||||
Reference in new issue
Block a user