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

This commit is contained in:
Franck Nijhof authored and Paulus Schoutsen committed 2019-07-05 15:24:26 -07:00
1 parent e75c9efb3f
commit 31f569ada9
27 files changed
+34 -34

No files matched your search

+2 -2
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'):