mirror of
https://github.com/esphome/esphome.git
synced 2026-06-24 14:37:04 +00:00
0b37b9a202b9bf8d11040a25176bdc3f310ec351
Replace the fixed asyncio.sleep(0.5) with a wait on an asyncio.Event that fires once all thread messages have arrived over the API. Every buffered message is delivered whether it survives intact or gets clobbered, so counting THREADMSG occurrences is a deterministic drain-complete signal with no arbitrary sleep and no dependence on the fix being present.
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
393 MiB
Languages
C++
60.7%
Python
38.9%
C
0.3%
