I have been suggested by someone with YAML knowledge to use anchors, but I don't know if these are supported, trying anyway
This commit is contained in:
parent
41ad52e78d
commit
5c2922a57f
2 changed files with 41 additions and 42 deletions
|
|
@ -8,16 +8,14 @@ light:
|
|||
num_leds: 5
|
||||
type : GRB
|
||||
name: "${friendly_devicename} PM25"
|
||||
effects: !include
|
||||
- file: ../partials/effects.yaml
|
||||
effects: *shared_effects
|
||||
- platform: neopixelbus
|
||||
variant: WS2812
|
||||
pin: D3
|
||||
num_leds: 5
|
||||
type : GRB
|
||||
name: "${friendly_devicename} PM10"
|
||||
effects: !include
|
||||
- file: ../partials/effects.yaml
|
||||
effects: *shared_effects
|
||||
- platform: binary
|
||||
name: "${friendly_devicename} Lamp"
|
||||
output: relay
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
light: &shared_effects
|
||||
- strobe:
|
||||
- flicker:
|
||||
- addressable_rainbow:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue