mirror of
https://github.com/esphome/esphome.git
synced 2026-07-10 08:55:36 +00:00
5c86bad64bb71e3b6070e0fb4c40b3c3f9c95d14
If CLOSE_EVT never arrives after DISCONNECT_EVT, the client gets stuck in DISCONNECTING forever, blocking reconnection and scanner restart. Add a 10s timeout watchdog in loop() that forces IDLE as a recovery path. Introduce set_disconnecting_() helper to ensure the timeout timestamp is always set when entering DISCONNECTING state. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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%
