mirror of
https://github.com/esphome/esphome.git
synced 2026-09-20 03:28:41 +00:00
1a02f7e41f1a495b67291be4135e83121c774497
Apply the bitmask pattern from LightControlAction (#16039) to climate::ControlAction. Parameterize on a uint16_t Fields bitmask encoding which of the 10 templatable fields are configured. Unused fields are elided via [[no_unique_address]] and skipped in play() via if constexpr. Also drop the unused `away` TEMPLATABLE_VALUE -- its YAML key is cv.invalid("Use preset instead") and no caller of set_away exists in the repo. Per-instance: 20 B (mode only) to 28 B (mode + 2 temps), down from ~64-72 B baseline.
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
599 MiB
Languages
C++
55.7%
Python
43.7%
C
0.3%
JavaScript
0.2%
