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

@ -168,10 +168,10 @@ async def _async_setup_component(hass: core.HomeAssistant,
_LOGGER.info("Setup of domain %s took %.1f seconds.", domain, end - start)
if result is False:
log_error("Component failed to initialize.")
log_error("Integration failed to initialize.")
return False
if result is not True:
log_error("Component {!r} did not return boolean if setup was "
log_error("Integration {!r} did not return boolean if setup was "
"successful. Disabling component.".format(domain))
return False