Anchor try2

This commit is contained in:
Frank "PHiAX" Weggelaar 2026-01-29 21:50:17 +01:00
parent a70729fb98
commit c3c6f7e9f6
2 changed files with 42 additions and 38 deletions

View file

@ -9,6 +9,7 @@ light:
num_leds: 5 num_leds: 5
type : GRB type : GRB
name: "${friendly_devicename} PM25" name: "${friendly_devicename} PM25"
effects: <<: *light_effects
- platform: neopixelbus - platform: neopixelbus
id: light_pm10 id: light_pm10
variant: WS2812 variant: WS2812
@ -16,6 +17,7 @@ light:
num_leds: 5 num_leds: 5
type : GRB type : GRB
name: "${friendly_devicename} PM10" name: "${friendly_devicename} PM10"
effects: <<: *light_effects
- platform: binary - platform: binary
name: "${friendly_devicename} Lamp" name: "${friendly_devicename} Lamp"
output: relay output: relay

View file

@ -1,13 +1,15 @@
- strobe: light:
- flicker: &light_effects
- addressable_rainbow: - strobe:
- addressable_color_wipe: - flicker:
- addressable_scan: - addressable_rainbow:
- addressable_twinkle: - addressable_color_wipe:
- addressable_random_twinkle: - addressable_scan:
- addressable_fireworks: - addressable_twinkle:
- addressable_flicker: - addressable_random_twinkle:
- addressable_color_wipe: - addressable_fireworks:
- addressable_flicker:
- addressable_color_wipe:
name: Kingsday name: Kingsday
colors: colors:
- red: 78% - red: 78%
@ -28,11 +30,11 @@
num_leds: 6 num_leds: 6
add_led_interval: 100ms add_led_interval: 100ms
reverse: true reverse: true
- random: - random:
name: "My Slow Random Effect" name: "My Slow Random Effect"
transition_length: 30s transition_length: 30s
update_interval: 30s update_interval: 30s
- random: - random:
name: "My Fast Random Effect" name: "My Fast Random Effect"
transition_length: 4s transition_length: 4s
update_interval: 5s update_interval: 5s