mirror of
https://github.com/esphome/esphome.git
synced 2026-09-17 18:18:43 +00:00
9370b0451d50dc04b34fbc3cb39d13e4805a5f92
Move the flag-check early return for status_clear_warning() and status_clear_error() into inline methods in the header. The slow path (flag clear + log message) remains out-of-line. This eliminates a call8 on every poll cycle for components that call status_clear_warning() unconditionally on success, which is the common pattern.
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
598 MiB
Languages
C++
55.7%
Python
43.7%
C
0.3%
JavaScript
0.2%
