mirror of
https://github.com/randybb/esphome-configs.git
synced 2026-10-14 08:35:12 +02:00
The ATOM LED gets them; displays and lights that are also normal lights don't, so a failed component can't take them over.
20 lines
503 B
YAML
20 lines
503 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
|
|
show_errors: "true" # dedicated status 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
|