mirror of
https://github.com/esphome/esphome.git
synced 2026-09-15 09:08:41 +00:00
5ed3be7b9748c8e26782c7e429d19aa158039fca
The compile-time loop() override detection using decltype(&T::loop) fails when a component inherits from both Component (via PollingComponent) and BLEClientNode, as both define loop() methods making the expression ambiguous. Add a SFINAE-based has_loop_override<T> trait that gracefully handles this case: when decltype(&T::loop) is ill-formed due to ambiguity, it falls back to true (conservatively assuming a loop override exists).
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
594 MiB
Languages
C++
55.8%
Python
43.6%
C
0.3%
JavaScript
0.2%
