From 2307d811bb4c421f28bd210df3281d46a812ec6e Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Mon, 7 Sep 2026 17:31:34 +0200 Subject: [PATCH] Note that later start time reads in the pass see the moved start --- esphome/core/application.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/esphome/core/application.h b/esphome/core/application.h index e7f2be6bce..7d8b317067 100644 --- a/esphome/core/application.h +++ b/esphome/core/application.h @@ -651,6 +651,8 @@ class LoopBlockingGuard { /// nothing there. Main loop task only. The watchdog is not fed inside the /// scope, so the work must still finish within the watchdog timeout. Scopes /// may nest; the outermost one decides how much of the pass is left out. +/// App.get_loop_component_start_time() reads later in the same pass return +/// the moved start, so elapsed time across the scope needs millis(). /// /// void MyComponent::loop() { /// if (this->needs_key_) {