diff --git a/esphome/device_packages/sensor-box-diy.yaml b/esphome/device_packages/sensor-box-diy.yaml index a136b70..1c21657 100644 --- a/esphome/device_packages/sensor-box-diy.yaml +++ b/esphome/device_packages/sensor-box-diy.yaml @@ -9,7 +9,7 @@ light: num_leds: 5 type : GRB name: "${friendly_devicename} PM25" - effects: *light_effects + effects: !include *light_effects - platform: neopixelbus id: light_pm10 variant: WS2812 @@ -17,7 +17,6 @@ light: num_leds: 5 type : GRB name: "${friendly_devicename} PM10" - effects: *light_effects - platform: binary name: "${friendly_devicename} Lamp" output: relay diff --git a/esphome/partials/effects.yaml b/esphome/partials/effects.yaml index b3c5a26..8a47a86 100644 --- a/esphome/partials/effects.yaml +++ b/esphome/partials/effects.yaml @@ -1,4 +1,4 @@ -light: &light_effects +effects: &light_effects - strobe: - flicker: - addressable_rainbow: