mirror of
https://github.com/home-assistant/core.git
synced 2025-07-29 18:28:14 +02:00
Batch of Component(s) -> Integration(s) (#24972)
This commit is contained in:
committed by
Paulus Schoutsen
parent
e75c9efb3f
commit
31f569ada9
@ -293,7 +293,7 @@ async def check_ha_config_file(hass):
|
||||
|
||||
def _pack_error(package, component, config, message):
|
||||
"""Handle errors from packages: _log_pkg_error."""
|
||||
message = "Package {} setup failed. Component {} {}".format(
|
||||
message = "Package {} setup failed. Integration {} {}".format(
|
||||
package, component, message)
|
||||
domain = 'homeassistant.packages.{}.{}'.format(package, component)
|
||||
pack_config = core_config[CONF_PACKAGES].get(package, config)
|
||||
@ -355,7 +355,7 @@ async def check_ha_config_file(hass):
|
||||
try:
|
||||
component = integration.get_component()
|
||||
except ImportError:
|
||||
result.add_error("Component not found: {}".format(domain))
|
||||
result.add_error("Integration not found: {}".format(domain))
|
||||
continue
|
||||
|
||||
if hasattr(component, 'CONFIG_SCHEMA'):
|
||||
|
Reference in New Issue
Block a user