mirror of
https://github.com/esphome/esphome.git
synced 2026-07-10 08:55:36 +00:00
7b222f773f5fb31c19f057931dd61c99b8daa614
After wifi_loop_() processes the STA_CONNECTED event, state_ is still CONNECTING (state machine hasn't run yet). update_connected_state_() runs but is_connected_() returns false. Then check_connecting_finished() transitions to STA_CONNECTED. Next iteration: no events, state is STA_CONNECTED, so we skipped update — connected_ stayed false forever. Fix: check connected_ instead of state_. Only skip when connected_ is already true (steady state). When connected_ is false, always re-evaluate so the flag gets set after the state machine transitions.
Description
ESPHome is a system to control your ESP8266/ESP32 by simple yet powerful configuration files and control them remotely through Home Automation systems.
Readme
Multiple Licenses
545 MiB
Languages
C++
60.1%
Python
39.3%
C
0.3%
JavaScript
0.2%
