mirror of
https://github.com/esphome/esphome.git
synced 2026-08-24 07:06:20 +00:00
3728669fa6d7bb6858799fcd16b81f2f7ba77553
The collapse of the CONNECTING branch dropped a real race fix: HA re-requesting a connect while a scheduled teardown was still pending used to cancel the teardown and let the in-flight open complete; without it the request was ignored and HA paid a teardown plus a fresh connect during exactly the reconnect churn this path sees most. cancel_gatt_disconnect() joins the contract: true only for a scheduled teardown that has not started closing (Bluedroid clears the latched want_disconnect_); rp2 and the stubs return false since their teardowns start inside gatt_disconnect(). The wrapper's cancel_teardown() returns its state to CONNECTING and the proxy handler carries the dev branch verbatim.
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
575 MiB
Languages
C++
58.3%
Python
41.1%
C
0.3%
JavaScript
0.2%
