mirror of
https://github.com/esphome/esphome.git
synced 2024-11-29 10:14:13 +01:00
SX1509 component (#5385)
This commit is contained in:
parent
736dbfac13
commit
11433c8c17
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue