mirror of
https://github.com/esphome/esphome.git
synced 2026-09-22 12:38:40 +00:00
a9a943b858fe564faf9fe37b26b5e86006f2261c
Add _to() variants that write into a stack buffer and return StringRef, avoiding heap allocation on every publish. Update publish_state() in climate (11 allocations eliminated), fan (3), cover (2), and valve (1) to use the new stack-based getters. The allocating getters are retained for setup-time paths (subscribe, send_discovery, dump_config) where the allocation is one-time.
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
602 MiB
Languages
C++
55.7%
Python
43.7%
C
0.3%
JavaScript
0.2%
