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
@@ -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