mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-05-19 04:33:27 +02:00
Pull PollingComponent up from individual display drivers to Display. (#5444)
This commit is contained in:
@@ -28,7 +28,6 @@ CONFIG_SCHEMA = display.BASIC_DISPLAY_SCHEMA.extend(
|
||||
|
||||
async def to_code(config):
|
||||
var = cg.new_Pvariable(config[CONF_ID])
|
||||
await cg.register_component(var, config)
|
||||
await display.register_display(var, config)
|
||||
|
||||
cs = await cg.gpio_pin_expression(config[CONF_CS_PIN])
|
||||
|
||||
Reference in New Issue
Block a user