mirror of
https://github.com/esphome/esphome.git
synced 2026-09-13 16:18:41 +00:00
9f774b382701c5276ba4d4271d24f28693b9fe3b
Keep the cheap overflow_buf_.empty() check inline at all call sites. Move try_drain + HELPER_LOG + error handling into a single out-of-line drain_overflow_and_handle_errors_() used by both write_raw_ and the subclass loop() methods. Eliminates the duplicated drain logic.
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
593 MiB
Languages
C++
55.8%
Python
43.6%
C
0.3%
JavaScript
0.2%
