Binary Sensor codegen tidyup (#3217)
This commit is contained in:
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()
|
||||
),
|
||||
}
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user