mirror of
https://github.com/esphome/esphome.git
synced 2026-03-03 03:08:21 -07:00
2e506514003e46a59778e3a107cab5d4e4c75463
Replace std::vector<uint8_t> in recv_command_() with a member std::array<uint8_t, 36> buffer to eliminate heap allocation on every polling cycle. Also use pointer+length instead of vector references in handle_note_/handle_reply_, and use TextSensor's publish_state(const char*, size_t) overload to avoid temporary std::string construction for version and face name publishing.
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
262 MiB
Languages
C++
64.1%
Python
35.5%
C
0.3%
