From e3d8beb9903bb3ed84aea8770d87106d1a2b9965 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Wed, 7 Jun 2023 12:03:17 -0500 Subject: [PATCH] binary sensor --- components/ratgdo/cover/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)