Skip to content

Commit

Permalink
[esp32_rmt_led_strip] Add COMPONENT_SCHEMA extending (esphome#7918)
Browse files Browse the repository at this point in the history
  • Loading branch information
jesserockz authored Dec 5, 2024
1 parent ece72c6 commit f3cc1e5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions esphome/components/esp32_rmt_led_strip/light.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
from dataclasses import dataclass

import esphome.codegen as cg
import esphome.config_validation as cv
from esphome import pins
import esphome.codegen as cg
from esphome.components import esp32_rmt, light
import esphome.config_validation as cv
from esphome.const import (
CONF_CHIPSET,
CONF_IS_RGBW,
Expand Down Expand Up @@ -103,7 +103,7 @@ class LEDStripTimings:
default="0 us",
): cv.positive_time_period_nanoseconds,
}
),
).extend(cv.COMPONENT_SCHEMA),
cv.has_exactly_one_key(CONF_CHIPSET, CONF_BIT0_HIGH),
)

Expand Down

0 comments on commit f3cc1e5

Please sign in to comment.