diff --git a/components/ratgdo/cover/__init__.py b/components/ratgdo/cover/__init__.py index 660f3dc..f00a188 100644 --- a/components/ratgdo/cover/__init__.py +++ b/components/ratgdo/cover/__init__.py @@ -22,6 +22,6 @@ CONFIG_SCHEMA = cover.COVER_SCHEMA.extend({cv.GenerateID(): cv.declare_id(RATGDO async def to_code(config): var = cg.new_Pvariable(config[CONF_ID]) - await cover.register_cover(var, config) await cg.register_component(var, config) + await cover.register_cover(var, config) await register_ratgdo_child(var, config)