mirror of
https://github.com/esphome/esphome.git
synced 2025-01-07 13:21:44 +01:00
Extend component
This commit is contained in:
parent
bf48b0736e
commit
ab98173668
1 changed files with 3 additions and 1 deletions
|
@ -177,7 +177,9 @@ CONFIG_SCHEMA = cv.All(
|
|||
cv.Optional(CONF_PA_POWER, default=17): cv.int_range(min=0, max=17),
|
||||
cv.Optional(CONF_ON_PACKET): automation.validate_automation(single=True),
|
||||
},
|
||||
).extend(spi.spi_device_schema(False, 8e6, "mode0")),
|
||||
)
|
||||
.extend(cv.COMPONENT_SCHEMA)
|
||||
.extend(spi.spi_device_schema(False, 8e6, "mode0")),
|
||||
validate_config,
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue