[fastled] Include esp_lcd IDF component for ESP32-S3 compatibility (#14839)

This commit is contained in:
J. Nick Koston
2026-03-15 18:14:41 -10:00
committed by GitHub
parent 1377776d21
commit ccb467b219
2 changed files with 6 additions and 0 deletions
@@ -7,6 +7,7 @@ from esphome.const import (
CONF_OUTPUT_ID,
CONF_RGB_ORDER,
)
from esphome.core import CORE
CODEOWNERS = ["@OttoWinter"]
fastled_base_ns = cg.esphome_ns.namespace("fastled_base")
@@ -41,5 +42,9 @@ async def new_fastled_light(config):
cg.add(var.set_max_refresh_rate(config[CONF_MAX_REFRESH_RATE]))
cg.add_library("fastled/FastLED", "3.9.16")
if CORE.is_esp32:
from esphome.components.esp32 import include_builtin_idf_component
include_builtin_idf_component("esp_lcd")
await light.register_light(var, config)
return var
@@ -0,0 +1 @@
<<: !include common.yaml