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):