Switching to substitutions based on support received

This commit is contained in:
Frank "PHiAX" Weggelaar 2026-01-30 22:21:02 +01:00
parent ea23b83001
commit a873ea075d
2 changed files with 4 additions and 2 deletions

View file

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

View file

@ -1,4 +1,5 @@
light_effects: &light_effects
substitutions:
light_effects:
- strobe:
- flicker:
- addressable_rainbow: