[light] Use constexpr template for DimRelativeAction transition_length (#16038)

This commit is contained in:
J. Nick Koston
2026-04-29 14:26:38 +12:00
committed by GitHub
parent 0d150dc57e
commit 5a33c50015
5 changed files with 151 additions and 5 deletions
+4
View File
@@ -108,6 +108,10 @@ esphome:
relative_brightness: 5%
brightness_limits:
max_brightness: 90%
- light.dim_relative:
id: test_monochromatic_light
relative_brightness: -5%
transition_length: 250ms
- light.turn_on:
id: test_addressable_transition
brightness: 50%