20240410
This commit is contained in:
23
esphome/templates/light_fastled_spi.yaml
Normal file
23
esphome/templates/light_fastled_spi.yaml
Normal file
@@ -0,0 +1,23 @@
|
||||
---
|
||||
external_components:
|
||||
- source:
|
||||
type: local
|
||||
path: components
|
||||
|
||||
light:
|
||||
- platform: fastled_spi
|
||||
id: led_lights
|
||||
data_pin: ${pin_led_data}
|
||||
clock_pin: ${pin_led_clk}
|
||||
restore_mode: RESTORE_DEFAULT_ON
|
||||
name: ${device_name}_leds
|
||||
chipset: ${led_chipset}
|
||||
rgb_order: BGR
|
||||
num_leds: ${num_leds}
|
||||
effects:
|
||||
- flicker:
|
||||
name: "Flicker"
|
||||
alpha: 95%
|
||||
intensity: 1.5%
|
||||
- addressable_rainbow:
|
||||
- addressable_scan:
|
||||
Reference in New Issue
Block a user