mirror of
https://github.com/esphome/esphome.git
synced 2025-10-26 12:43:48 +00:00
[light] Add compile test for addressable lights (#11465)
This commit is contained in:
@@ -17,6 +17,20 @@ esphome:
|
|||||||
relative_brightness: 5%
|
relative_brightness: 5%
|
||||||
brightness_limits:
|
brightness_limits:
|
||||||
max_brightness: 90%
|
max_brightness: 90%
|
||||||
|
- light.turn_on:
|
||||||
|
id: test_addressable_transition
|
||||||
|
brightness: 50%
|
||||||
|
red: 100%
|
||||||
|
green: 0%
|
||||||
|
blue: 0%
|
||||||
|
transition_length: 500ms
|
||||||
|
- light.turn_on:
|
||||||
|
id: test_addressable_transition
|
||||||
|
brightness: 100%
|
||||||
|
red: 0%
|
||||||
|
green: 100%
|
||||||
|
blue: 0%
|
||||||
|
transition_length: 1s
|
||||||
|
|
||||||
light:
|
light:
|
||||||
- platform: binary
|
- platform: binary
|
||||||
@@ -163,3 +177,9 @@ light:
|
|||||||
blue: 0%
|
blue: 0%
|
||||||
duration: 1s
|
duration: 1s
|
||||||
transition_length: 500ms
|
transition_length: 500ms
|
||||||
|
- platform: partition
|
||||||
|
id: test_addressable_transition
|
||||||
|
name: Addressable Transition Test
|
||||||
|
default_transition_length: 1s
|
||||||
|
segments:
|
||||||
|
- single_light_id: test_rgb_light
|
||||||
|
|||||||
Reference in New Issue
Block a user