mirror of
https://github.com/esphome/esphome.git
synced 2026-07-10 17:05:36 +00:00
5319b8593b352f314b1baa8d9cc32017e17e1105
Add inject_to_rx_buffer_delayed() to uart_mock which stages bytes that aren't visible to available() until the delay elapses. This simulates USB packet delivery latency. The test uses a 40ms delay which is: - Greater than the old ~2ms timeout (fails without fix) - Less than the new 50ms fallback timeout (passes with fix)
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
546 MiB
Languages
C++
60.1%
Python
39.3%
C
0.3%
JavaScript
0.2%
