diff --git a/components/showcase_component/__init__.py b/components/showcase_component/__init__.py index 48cc60b..f3ace6e 100644 --- a/components/showcase_component/__init__.py +++ b/components/showcase_component/__init__.py @@ -27,5 +27,5 @@ async def to_code(config): lower = await cg.get_variable(config["lower"]) cg.add(var.set_lower(lower)) - yield cg.register_component(var, config) - yield i2c.register_i2c_device(var, config) + await cg.register_component(var, config) + await i2c.register_i2c_device(var, config)