binary sensor
This commit is contained in:
parent
0fb3f6e13f
commit
8f31db6ba5
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue