Avoid double registration

This commit is contained in:
Giovanni Condello 2024-03-21 23:42:14 +01:00
parent f5c53eb228
commit b1e955ce6e
1 changed files with 0 additions and 1 deletions

View File

@ -45,7 +45,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)
reset_pin = await cg.gpio_pin_expression(config[CONF_RESET_PIN])