mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 18:57:06 +00:00
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:
parent
ec96e54f87
commit
e8335b1ed7
@ -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):
|
with async_start_setup(hass, integration=domain, phase=SetupPhases.SETUP):
|
||||||
if hasattr(component, "PLATFORM_SCHEMA"):
|
if hasattr(component, "PLATFORM_SCHEMA"):
|
||||||
@ -782,7 +782,7 @@ def async_start_setup(
|
|||||||
# platforms, but we only care about the longest time.
|
# platforms, but we only care about the longest time.
|
||||||
group_setup_times[phase] = max(group_setup_times[phase], time_taken)
|
group_setup_times[phase] = max(group_setup_times[phase], time_taken)
|
||||||
if group is None:
|
if group is None:
|
||||||
_LOGGER.debug(
|
_LOGGER.info(
|
||||||
"Setup of domain %s took %.2f seconds", integration, time_taken
|
"Setup of domain %s took %.2f seconds", integration, time_taken
|
||||||
)
|
)
|
||||||
elif _LOGGER.isEnabledFor(logging.DEBUG):
|
elif _LOGGER.isEnabledFor(logging.DEBUG):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user