mirror of
https://github.com/esphome/esphome.git
synced 2026-09-15 09:08:41 +00:00
5b8acaa7c0b5e70246dd9e9fe917719c7ee52779
Replace std::pair<Sensor*, std::function> with a SensorSource struct that includes a back-pointer to the parent component. This allows KalmanCombinationComponent::setup() to capture only [&source] (one pointer) instead of [this, stddev] (this + a full std::function copy), enabling inline Callback storage and avoiding a heap allocation per sensor callback registration.
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%
