Add select

This commit is contained in:
T
2025-03-14 17:57:43 +01:00
parent 419143d70a
commit 6454dc6d58
6 changed files with 61 additions and 11 deletions

View File

@@ -14,9 +14,10 @@ OptomaRS232Component = optoma_ns.class_("OptomaRS232Component", cg.PollingCompon
CONFIG_SCHEMA = (
cv.Schema({
cv.GenerateID(): cv.declare_id(OptomaRS232Component),
})
.extend(cv.polling_component_schema("10s"))
.extend(uart.UART_DEVICE_SCHEMA)
}).extend(
cv.polling_component_schema("10s"),
uart.UART_DEVICE_SCHEMA
)
)