binary sensor

This commit is contained in:
J. Nick Koston 2023-06-07 11:02:14 -05:00
parent 0fb3f6e13f
commit 8f31db6ba5
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

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