cleaned for new home
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
---
|
||||
light:
|
||||
- platform: esp32_rmt_led_strip
|
||||
rmt_channel: 0
|
||||
is_rgbw: True
|
||||
#rmt_channel: 0
|
||||
is_rgbw: ${is_rgbw}
|
||||
id: led_lights
|
||||
restore_mode: RESTORE_DEFAULT_ON
|
||||
name: ${device_name}_leds
|
||||
@@ -14,4 +14,52 @@ light:
|
||||
- flicker:
|
||||
name: "Flicker"
|
||||
alpha: 95%
|
||||
intensity: 1.5%
|
||||
intensity: 1.5%
|
||||
- addressable_lambda:
|
||||
name: "Wipe In-green"
|
||||
update_interval: 25714ms
|
||||
lambda: |-
|
||||
static int x = 0;
|
||||
if (initial_run) {
|
||||
x = 0;
|
||||
it[x] = Color(0,255,0);
|
||||
}
|
||||
if (x < it.size()) {
|
||||
it.range(1, x) = Color(0,255,0);
|
||||
x += 1;
|
||||
}
|
||||
- addressable_lambda:
|
||||
name: star-orange
|
||||
update_interval: 12ms
|
||||
lambda: |-
|
||||
static int x = 0;
|
||||
if (initial_run) {
|
||||
x = 0;
|
||||
it.all() = Color::BLACK;
|
||||
}
|
||||
if (x < it.size()) {
|
||||
it[x] = COLOR_CSS_ORANGE;
|
||||
x += 5;
|
||||
}
|
||||
- addressable_lambda:
|
||||
name: star-red
|
||||
update_interval: 12ms
|
||||
lambda: |-
|
||||
static int x = 0;
|
||||
if (initial_run) {
|
||||
x = 0;
|
||||
it.all() = Color::BLACK;
|
||||
}
|
||||
if (x < it.size()) {
|
||||
it[x] = COLOR_CSS_RED;
|
||||
x += 5;
|
||||
}
|
||||
- random:
|
||||
name: "Random"
|
||||
transition_length: 4s
|
||||
update_interval: 5s
|
||||
- addressable_rainbow:
|
||||
name: Rainbow Effect
|
||||
speed: 100
|
||||
width: 50
|
||||
- addressable_flicker:
|
||||
Reference in New Issue
Block a user