diff --git a/esphome/core/application.cpp b/esphome/core/application.cpp index a2f94235f5..fbd3c56e54 100644 --- a/esphome/core/application.cpp +++ b/esphome/core/application.cpp @@ -73,9 +73,8 @@ void Application::loop() { const uint32_t end = millis(); if (end - start > 200) { - ESP_LOGV(TAG, "A component took a long time in a loop() cycle (%.1f s).", (end - start) / 1e3f); + ESP_LOGV(TAG, "A component took a long time in a loop() cycle (%.2f s).", (end - start) / 1e3f); ESP_LOGV(TAG, "Components should block for at most 20-30ms in loop()."); - ESP_LOGV(TAG, "This will become a warning soon."); } const uint32_t now = millis();