mirror of
https://github.com/esphome/esphome.git
synced 2026-09-12 07:47:33 +00:00
073dd3995eed1476432e22ca55097743b6fc822e
Pass wrapping lambdas directly to CallbackManager::add() instead of first wrapping in std::function. The lambdas capture [this, callback] (two pointers) so they hit the heap path either way, but this avoids double-wrapping and the extra std::function overhead. Also fix "deallaction" typo.
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
592 MiB
Languages
C++
55.8%
Python
43.6%
C
0.3%
JavaScript
0.2%
