mirror of
https://github.com/esphome/esphome.git
synced 2026-09-17 01:58:39 +00:00
805bc4c9a8f554bd485614389007ba3ccee928d6
Climate entities live for the entire program lifetime, so the custom mode vectors never need to be freed. Use raw pointers (null by default, allocated on first set_supported_custom_*() call) instead of inline std::vector members. This saves 48 bytes of RAM per Climate instance (two empty vectors) for components that don't use custom modes (bang_bang, pid, etc.), and avoids any copy overhead in get_traits().
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
596 MiB
Languages
C++
55.8%
Python
43.6%
C
0.3%
JavaScript
0.2%
