From 975978256ca75192252928141f4e5e53018aa5e4 Mon Sep 17 00:00:00 2001 From: Roman Priesol Date: Tue, 21 Jan 2025 12:49:05 +0100 Subject: [PATCH] Swicth CEC to esp-idf and rmt --- mcu-cec-bedroom.yaml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/mcu-cec-bedroom.yaml b/mcu-cec-bedroom.yaml index 983c3f3..4c02a34 100644 --- a/mcu-cec-bedroom.yaml +++ b/mcu-cec-bedroom.yaml @@ -10,8 +10,8 @@ esphome: esp32: board: m5stack-atom framework: - type: arduino - # type: esp-idf + # type: arduino + type: esp-idf external_components: # - source: github://pr#3017 @@ -61,13 +61,14 @@ binary_sensor: inverted: true light: - - platform: neopixelbus - type: GRB - pin: 27 - variant: WS2812 - num_leds: 1 + - platform: esp32_rmt_led_strip name: "${name} LED" - id: neo + id: led + rgb_order: GRB + pin: 27 + num_leds: 1 + chipset: ws2812 + restore_mode: ALWAYS_OFF effects: # Use default parameters: - random: