Skip to content

Commit eeabd16

Browse files
committed
fix neopixelbus
1 parent d75ccb5 commit eeabd16

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

esphome/packages/config/esp32-c3-mini.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ substitutions:
66
pir_pin: A4
77
rgb_led_pin: GPIO7
88
rgb_led_type: GRB
9+
rgb_led_order: GRB
910
sen0395_io_pin: A2
1011
uart_rx_pin: GPIO20
1112
uart_tx_pin: GPIO21

esphome/packages/sensors/rgb_led.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ substitutions:
44
led_strobe_off: 100ms
55

66
light:
7-
- platform: neopixelbus
7+
- platform: esp32_rmt_led_strip
88
name: "LED"
99
id: led
10-
type: "${rgb_led_type}"
11-
variant: WS2812X
10+
rgb_order: "${rgb_led_type}"
11+
chipset: WS2812
1212
num_leds: 1
1313
pin: "${rgb_led_pin}"
1414
icon: "mdi:led-outline"

0 commit comments

Comments
 (0)