Revert "Move setup messages from info to debug level" (#142023)

Revert "Move setup messages from info to debug level (#141834)"

This reverts commit 663d0691a780c25c9fa93ec4fae16bcc08966609.
This commit is contained in:
Abílio Costa 2025-04-02 21:42:38 +01:00 committed by GitHub
parent ec96e54f87
commit e8335b1ed7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -386,7 +386,7 @@ async def _async_setup_component(
},
)
_LOGGER.debug("Setting up %s", domain)
_LOGGER.info("Setting up %s", domain)
with async_start_setup(hass, integration=domain, phase=SetupPhases.SETUP):
if hasattr(component, "PLATFORM_SCHEMA"):
@ -782,7 +782,7 @@ def async_start_setup(
# platforms, but we only care about the longest time.
group_setup_times[phase] = max(group_setup_times[phase], time_taken)
if group is None:
_LOGGER.debug(
_LOGGER.info(
"Setup of domain %s took %.2f seconds", integration, time_taken
)
elif _LOGGER.isEnabledFor(logging.DEBUG):