mirror of
https://github.com/esphome/esphome.git
synced 2026-08-26 16:10:29 +00:00
3a24d0b03bfbd316e93ba660fe292b9600d7e5d1
The latches were cleared only in set_idle_(), but the stack-down branch in loop() reaches IDLE through set_state() without it, so after a ble.disable/enable cycle the next connection's discover_services() would complete immediately from the previous connection's latched result and HA would cache an authoritative empty service list. tracker_connect_() now resets the latch alongside the two per-attempt flags it already clears, and delivery consumes the whole latch so a re-discovery on a live link issues a real search instead of re-reporting the first result.
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
577 MiB
Languages
C++
57.7%
Python
41.7%
C
0.3%
JavaScript
0.2%
