mirror of
https://github.com/randybb/esphome-configs.git
synced 2026-10-14 08:35:12 +02:00
common/status_led_atom.yaml puts common/status_led.yaml on the ATOM Lite's own RGB LED (G27, 64 RMT symbols to leave room for IR/RF). echo-1 uses its existing LED light.
19 lines
453 B
YAML
19 lines
453 B
YAML
---
|
|
# Status LED on the M5Stack ATOM Lite's own RGB LED (G27), see common/status_led.yaml
|
|
packages:
|
|
status_led: !include
|
|
file: status_led.yaml
|
|
vars:
|
|
light_id: atom_led
|
|
|
|
light:
|
|
- platform: esp32_rmt_led_strip
|
|
id: atom_led
|
|
internal: true
|
|
pin: 27
|
|
num_leds: 1
|
|
rmt_symbols: 64 # 1 LED is 24 bits; leave RMT memory for remote_transmitter/receiver
|
|
chipset: ws2812
|
|
channel_colors: GRB
|
|
restore_mode: ALWAYS_OFF
|