From 3ef85940ce5a3144781397e3c0df94710478a20d Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Mon, 5 Jun 2023 12:27:27 -0500 Subject: [PATCH] fix --- components/ratgdo/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/ratgdo/__init__.py b/components/ratgdo/__init__.py index c0c4bd4..b58e61f 100644 --- a/components/ratgdo/__init__.py +++ b/components/ratgdo/__init__.py @@ -13,7 +13,7 @@ CONF_ROLLING_CODES = "rolling_codes" CONFIG_SCHEMA = cv.Schema( { cv.GenerateID(): cv.declare_id(RATGDO), - cv.OPTIONAL(CONF_ROLLING_CODES, default=True): cv.boolean, + cv.Optional(CONF_ROLLING_CODES, default=True): cv.boolean, } ).extend(cv.COMPONENT_SCHEMA)