mirror of
https://github.com/esphome/esphome.git
synced 2025-09-02 03:12:20 +01:00
Allow pulse light effect to have separate on and off transition lengths (#5659)
This commit is contained in:
@@ -2179,6 +2179,20 @@ light:
|
||||
state += 1;
|
||||
if (state == 4)
|
||||
state = 0;
|
||||
- pulse:
|
||||
transition_length: 10s
|
||||
update_interval: 20s
|
||||
min_brightness: 10%
|
||||
max_brightness: 90%
|
||||
- pulse:
|
||||
name: pulse2
|
||||
transition_length:
|
||||
on_length: 10s
|
||||
off_length: 5s
|
||||
update_interval: 15s
|
||||
min_brightness: 10%
|
||||
max_brightness: 90%
|
||||
|
||||
- platform: rgb
|
||||
name: Living Room Lights
|
||||
id: ${roomname}_lights
|
||||
|
Reference in New Issue
Block a user