From 32b886a676476603f91663f071bc2b1be20219bd Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Mon, 5 Jun 2023 13:27:40 -0500 Subject: [PATCH] fix --- components/ratgdo/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/components/ratgdo/__init__.py b/components/ratgdo/__init__.py index 23dc37c..14901dd 100644 --- a/components/ratgdo/__init__.py +++ b/components/ratgdo/__init__.py @@ -21,8 +21,7 @@ CONFIG_SCHEMA = cv.Schema( async def to_code(config): var = cg.new_Pvariable(config[CONF_ID]) await cg.register_component(var, config) - rolling_codes = await cg.get_variable(config[CONF_ROLLING_CODES]) - cg.add(var.set_rolling_codes(rolling_codes)) + cg.add(var.set_rolling_codes(config[CONF_ROLLING_CODES])) cg.add_library( name="secplus", repository="https://github.com/bdraco/secplus",