Batch of Component(s) -> Integration(s) (#24972)

This commit is contained in:
Franck Nijhof 2019-07-06 00:24:26 +02:00 committed by Paulus Schoutsen
parent e75c9efb3f
commit 31f569ada9
27 changed files with 34 additions and 34 deletions

View file

@ -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'):