1
0
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:
Jesse Hills
2023-11-07 12:39:47 +13:00
committed by GitHub
parent d141e1cd67
commit dd0270207f
3 changed files with 46 additions and 8 deletions

View File

@@ -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