From 8f31db6ba5646d5bbd029b88083908336917aa54 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Wed, 7 Jun 2023 11:02:14 -0500 Subject: [PATCH] binary sensor --- components/ratgdo/binary_sensor/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/ratgdo/binary_sensor/__init__.py b/components/ratgdo/binary_sensor/__init__.py index 3647a6f..dcfa451 100644 --- a/components/ratgdo/binary_sensor/__init__.py +++ b/components/ratgdo/binary_sensor/__init__.py @@ -18,7 +18,7 @@ TYPES = {"motion", "obstruction"} CONFIG_SCHEMA = binary_sensor.BINARY_SENSOR_SCHEMA.extend( {cv.Required(CONF_TYPE): str} -) +).extend(cv.COMPONENT_SCHEMA) async def to_code(config):