Switching to substitutions based on support received
This commit is contained in:
parent
ea23b83001
commit
a873ea075d
2 changed files with 4 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
light_effects: &light_effects
|
||||
substitutions:
|
||||
light_effects:
|
||||
- strobe:
|
||||
- flicker:
|
||||
- addressable_rainbow:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue