mirror of
https://github.com/esphome/esphome.git
synced 2026-02-26 05:53:12 -07: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
495 MiB
Languages
C++
64.1%
Python
35.6%
C
0.2%
