1
0
mirror of https://github.com/ratgdo/esphome-ratgdo.git synced 2025-03-03 04:19:56 +00:00

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

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