Binary Sensor codegen tidyup (#3217)

This commit is contained in:
Jesse Hills authored and GitHub committed 2022-02-18 10:39:59 +13:00
1 parent 3b8bb09ae3
commit 7a242bb4ed
38 files changed
+196 -222

No files matched your search

@@ -11,7 +11,7 @@ CONFIG_SCHEMA = cv.Schema(
cv.GenerateID(): cv.declare_id(CustomBinarySensorConstructor),
cv.Required(CONF_LAMBDA): cv.returning_lambda,
cv.Required(CONF_BINARY_SENSORS): cv.ensure_list(
binary_sensor.BINARY_SENSOR_SCHEMA
binary_sensor.binary_sensor_schema()
),
}
)