1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-27 07:32:22 +01:00

Pull PollingComponent up from individual display drivers to Display. (#5444)

This commit is contained in:
Clyde Stubbs
2023-11-27 07:48:38 +11:00
committed by GitHub
parent ccd7f0661c
commit dbdcb39af9
39 changed files with 19 additions and 47 deletions

View File

@@ -52,7 +52,6 @@ LCD_SCHEMA = display.BASIC_DISPLAY_SCHEMA.extend(
async def setup_lcd_display(var, config):
await cg.register_component(var, config)
await display.register_display(var, config)
cg.add(var.set_dimensions(config[CONF_DIMENSIONS][0], config[CONF_DIMENSIONS][1]))
if CONF_USER_CHARACTERS in config: