mirror of
https://github.com/esphome/esphome.git
synced 2026-07-10 17:05:36 +00:00
3bc7efb479f4cb5feb6141252cf77b7938c16159
Replace std::bind(&MultiClickTrigger::on_state_, this, _1) with a [this] lambda for the add_on_state_callback registration. The [this] lambda fits within the Callback inline storage threshold (sizeof(void*)), avoiding a permanent heap allocation.
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%
