diff --git a/esphome/components/wifi/wifi_component.cpp b/esphome/components/wifi/wifi_component.cpp index 0e935652d0..9fe5cf4289 100644 --- a/esphome/components/wifi/wifi_component.cpp +++ b/esphome/components/wifi/wifi_component.cpp @@ -122,7 +122,7 @@ void WiFiComponent::start() { void WiFiComponent::loop() { this->wifi_loop_(); - const uint32_t now = millis(); + const uint32_t now = App.get_loop_component_start_time(); if (this->has_sta()) { if (this->is_connected() != this->handled_connected_state_) {