mirror of
https://github.com/esphome/esphome.git
synced 2026-09-02 11:06:04 +00: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
605 MiB
Languages
C++
56.1%
Python
43.3%
C
0.3%
JavaScript
0.2%
