1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-02 19:32:19 +01:00

Migrate wifi component to use App.get_loop_component_start_time (#8931)

This commit is contained in:
J. Nick Koston
2025-05-28 16:33:54 -05:00
committed by GitHub
parent c4cb694d77
commit ffc66f539f

View File

@@ -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_) {