Update switch.py

This commit is contained in:
Daniël Koek 2024-03-28 12:09:09 +00:00
parent 7557e81448
commit 3d54a9960b

View file

@ -13,7 +13,7 @@ CONFIG_SCHEMA = (
.extend(
{
cv.Required(CONF_EBYTE_LORA): cv.use_id(EbyteLoraComponent),
cv.Required(PIN_TO_SEND): cv.int_range(min=0, max=3),
cv.Required(PIN_TO_SEND): cv.int_range(min=1, max=4),
}
)
.extend(cv.COMPONENT_SCHEMA)