mirror of
https://github.com/esphome/esphome.git
synced 2026-09-13 16:18:41 +00:00
19e0d052193217f89a042e64ba7b86e732262e44
Parameterize DimRelativeAction on a HasTransitionLength bool, mirroring the same trick applied to ToggleAction. When transition_length is not configured in YAML, the TemplatableFn field is elided via [[no_unique_address]] and LightCall::set_transition_length is skipped via if constexpr. Saves 4 bytes RAM per dim_relative action instance and shrinks play() by ~48 bytes when transition_length is unused.
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
593 MiB
Languages
C++
55.8%
Python
43.6%
C
0.3%
JavaScript
0.2%
