mirror of
https://github.com/esphome/esphome.git
synced 2024-12-22 16:37:52 +01:00
SX1509 component (#5385)
This commit is contained in:
parent
736dbfac13
commit
11433c8c17
@ -14,8 +14,8 @@ SX1509BinarySensor = sx1509_ns.class_("SX1509BinarySensor", binary_sensor.Binary
|
||||
CONFIG_SCHEMA = binary_sensor.binary_sensor_schema(SX1509BinarySensor).extend(
|
||||
{
|
||||
cv.GenerateID(CONF_SX1509_ID): cv.use_id(SX1509Component),
|
||||
cv.Required(CONF_ROW): cv.int_range(min=0, max=4),
|
||||
cv.Required(CONF_COL): cv.int_range(min=0, max=4),
|
||||
cv.Required(CONF_ROW): cv.int_range(min=0, max=7),
|
||||
cv.Required(CONF_COL): cv.int_range(min=0, max=7),
|
||||
}
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user